Skip to content

Commit

Permalink
Load in env vars from .env file (if it's present) on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaloult committed May 7, 2022
1 parent 4fa9450 commit 34dcb79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/server.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('dotenv').config();

const { app, PORT } = require('./app');
const debug = require('./utils/debug');

Expand Down

0 comments on commit 34dcb79

Please sign in to comment.