mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-11-22 00:02:24 +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.
|
||||
*/
|
||||
|
||||
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);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
h1= title
|
||||
p Welcome to #{title}
|
||||
h1 Yoooooooooooooooooo
|
||||
p Yoooooooooooooooooooooooooooooooo
|
||||
|
Loading…
Reference in New Issue
Block a user