mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
default is 4567 instead of 8080
This commit is contained in:
@@ -21,7 +21,7 @@ var web = {},
|
|||||||
];
|
];
|
||||||
|
|
||||||
web.install = function(port) {
|
web.install = function(port) {
|
||||||
port = port || 8080;
|
port = port || 4567;
|
||||||
winston.info('Launching web installer on port', port);
|
winston.info('Launching web installer on port', port);
|
||||||
|
|
||||||
app.use(express.static('public', {}));
|
app.use(express.static('public', {}));
|
||||||
@@ -99,6 +99,7 @@ function launch(req, res) {
|
|||||||
res.json({});
|
res.json({});
|
||||||
|
|
||||||
server.close();
|
server.close();
|
||||||
|
require('child_process').fork('app', [], {});
|
||||||
}
|
}
|
||||||
|
|
||||||
function compileLess(callback) {
|
function compileLess(callback) {
|
||||||
|
|||||||
Reference in New Issue
Block a user