Skip to content

Commit

Permalink
Fix to use the port value of dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Park Cheol Hyeon authored and phillipj committed Sep 21, 2019
1 parent 203a335 commit 4cce2b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict'

require('dotenv').load({ silent: true })

const glob = require('glob')
const express = require('express')
const bodyParser = require('body-parser')
Expand Down
2 changes: 2 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict'

require('dotenv').load({ silent: true })

const logger = require('./lib/logger')
const { spawnSync } = require('child_process')

Expand Down

0 comments on commit 4cce2b9

Please sign in to comment.