mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
fixed url being overwritten
This commit is contained in:
2
app.js
2
app.js
@@ -159,8 +159,6 @@ function start() {
|
||||
require('./src/user').startJobs();
|
||||
}
|
||||
|
||||
nconf.set('url', nconf.get('base_url') + (nconf.get('use_port') ? ':' + nconf.get('port') : '') + nconf.get('relative_path'));
|
||||
|
||||
async.waterfall([
|
||||
async.apply(plugins.ready),
|
||||
async.apply(meta.templates.compile),
|
||||
|
||||
@@ -4,7 +4,6 @@ var fs = require('fs'),
|
||||
path = require('path'),
|
||||
async = require('async'),
|
||||
winston = require('winston'),
|
||||
nconf = require('nconf'),
|
||||
semver = require('semver'),
|
||||
express = require('express'),
|
||||
npm = require('npm'),
|
||||
|
||||
Reference in New Issue
Block a user