diff --git a/services/web/app/coffee/infrastructure/ExpressLocals.coffee b/services/web/app/coffee/infrastructure/ExpressLocals.coffee index 9ba713d4aa..240bc5bef7 100644 --- a/services/web/app/coffee/infrastructure/ExpressLocals.coffee +++ b/services/web/app/coffee/infrastructure/ExpressLocals.coffee @@ -78,9 +78,9 @@ module.exports = (app, webRouter, apiRouter)-> opts.qs = {} if !opts.qs?.fingerprint? and doFingerPrint - opts.qs.fingerprint = getFingerprint(p) + opts.qs.fingerprint = getFingerprint(path) - path = Url.resolve(staticFilesBase, p) + path = Url.resolve(staticFilesBase, path) qs = querystring.stringify(opts.qs) if qs? and qs.length > 0 diff --git a/services/web/config/settings.defaults.coffee b/services/web/config/settings.defaults.coffee index e4c565c315..20c506027c 100644 --- a/services/web/config/settings.defaults.coffee +++ b/services/web/config/settings.defaults.coffee @@ -116,7 +116,7 @@ module.exports = settings = # cdn: # web: - # host:"http://www.sharelatex.dev:3000" + # host:"http://cdn.sharelatex.dev:3000" # Where your instance of ShareLaTeX can be found publically. Used in emails # that are sent out, generated links, etc.