Skip to content

Node.js based forum software built for the modern web

fixed url being overwritten

Julian Lam66bbbfcd2262
diff --git a/app.js b/app.js
index 80e192746a..414021c183 100644
--- a/app.js
+++ b/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),
diff --git a/src/plugins.js b/src/plugins.js
index a4180880f1..ec7e5302ba 100644
--- a/src/plugins.js
+++ b/src/plugins.js
@@ -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'),