Changed indent spaces and made localhost only

pull/1/head
Esther 2020-06-18 22:56:03 +01:00
parent 91eb61fc81
commit 40d6f1357f
No known key found for this signature in database
GPG Key ID: 162A307C5EBD40EA
8 changed files with 63 additions and 63 deletions

View File

@ -12,7 +12,7 @@ var http = require('http');
* Get port from environment and store in Express.
*/
var port = normalizePort(process.env.PORT || '3000');
var port = normalizePort(process.env.PORT || '7000');
app.set('port', port);
/**
@ -22,10 +22,10 @@ app.set('port', port);
var server = http.createServer(app);
/**
* Listen on provided port, on all network interfaces.
* Listen on provided port, on all localhost.
*/
server.listen(port);
server.listen(port, 'localhost');
server.on('error', onError);
server.on('listening', onListening);

View File

@ -1,5 +1,5 @@
extends layout
block content
h1= title
p Welcome to #{title}
h1 Yoooooooooooooooooo
p Yoooooooooooooooooooooooooooooooo