clean up vars for buildjs path and change default to cdn.sharelatex.dev:3000

This commit is contained in:
Henry Oswald 2016-07-21 09:38:24 +01:00
parent e27d5ce969
commit ad60268707
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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.