Skip to content

Commit

Permalink
dont add relative_path to uploads it is added on the way out
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Feb 10, 2015
1 parent 34c1d69 commit b40b87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Expand Up @@ -116,7 +116,7 @@ function start() {
nconf.set('use_port', !!urlObject.port);
nconf.set('relative_path', relativePath);
nconf.set('port', urlObject.port || nconf.get('port') || nconf.get('PORT') || 4567);
nconf.set('upload_url', relativePath + '/uploads/');
nconf.set('upload_url', '/uploads/');

if (nconf.get('isPrimary') === 'true') {
winston.info('Time: %s', (new Date()).toString());
Expand Down

0 comments on commit b40b87d

Please sign in to comment.