Skip to content

Commit

Permalink
changed to localhost build
Browse files Browse the repository at this point in the history
  • Loading branch information
javascriptteacher authored and javascriptteacher committed Oct 15, 2019
1 parent 97890ca commit 7ff03af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ database.create();
process.env.node_env = "localhost";

// replace xx.xx.xx.xxx with your own remote IP address or localhost (127.0.0.1)
const ip = 'localhost'; // const ip = 'xx.xx.xx.xxx';
const ip = '127.0.0.1'; // const ip = 'xx.xx.xx.xxx';
const port = process.env.node_env === 'production' ? 80 : 3000;

http.createServer(function(request, response) {
Expand Down

0 comments on commit 7ff03af

Please sign in to comment.