Skip to content

Commit

Permalink
fix(server.ts): fixes server port
Browse files Browse the repository at this point in the history
use port from env variable
  • Loading branch information
AndreVarandas committed Dec 31, 2018
1 parent 6ddac61 commit 8e306e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import app from './app'

const { log } = console
const PORT = 3000
const PORT = process.env.port || 3000

/**
* Starts the application listening on port 3000
Expand Down

0 comments on commit 8e306e1

Please sign in to comment.