Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
amitca71 authored May 3, 2021
1 parent 6caca84 commit c6c3b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const http = require('http');
const url = require('url');
const hostname = '0.0.0.0';
const port = 3001;
const port = process.env.PORT || 3001;

const server = http.createServer((req, res) => {
const queryObject = url.parse(req.url,true).query;
Expand Down

0 comments on commit c6c3b2f

Please sign in to comment.