Skip to content

Commit

Permalink
omit dotenv warning on heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
fembem committed Jul 16, 2020
1 parent 0a0bbf2 commit 711e57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require('rootpath')();
require('dotenv').config()
require('dotenv').config({ silent: process.env.NODE_ENV === 'production' });
var express = require('express');
var ejs = require('ejs');
var app = express();
Expand Down

0 comments on commit 711e57b

Please sign in to comment.