Skip to content

Commit 26bfbcf

Browse files
author
Jaime Guajardo
committed
silencing dotenv errors
1 parent d751612 commit 26bfbcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var express = require('express'),
2020
app = express();
2121

2222
// allows environment properties to be set in a file named .env
23-
require('dotenv').load();
23+
require('dotenv').load({silent: true});
2424

2525
app.use(express.static(__dirname + '/static'));
2626

0 commit comments

Comments
 (0)