mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-10-31 21:44:31 +00:00
Changed indent spaces and made localhost only
This commit is contained in:
parent
91eb61fc81
commit
40d6f1357f
6
bin/www
6
bin/www
@ -12,7 +12,7 @@ var http = require('http');
|
|||||||
* Get port from environment and store in Express.
|
* 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);
|
app.set('port', port);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -22,10 +22,10 @@ app.set('port', port);
|
|||||||
var server = http.createServer(app);
|
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('error', onError);
|
||||||
server.on('listening', onListening);
|
server.on('listening', onListening);
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
extends layout
|
extends layout
|
||||||
|
|
||||||
block content
|
block content
|
||||||
h1= title
|
h1 Yoooooooooooooooooo
|
||||||
p Welcome to #{title}
|
p Yoooooooooooooooooooooooooooooooo
|
||||||
|
Loading…
Reference in New Issue
Block a user