|
|
@@ -82,7 +82,6 @@ module.exports = (app, webRouter, apiRouter)->
|
|
|
res.locals.jsPath = jsPath
|
|
|
res.locals.fullJsPath = Url.resolve(staticFilesBase, jsPath)
|
|
|
|
|
|
-
|
|
|
res.locals.buildJsPath = (jsFile, opts = {})->
|
|
|
path = Path.join(jsPath, jsFile)
|
|
|
|
|
|
@@ -103,7 +102,6 @@ module.exports = (app, webRouter, apiRouter)->
|
|
|
path = path + "?" + qs
|
|
|
return path
|
|
|
|
|
|
-
|
|
|
res.locals.buildCssPath = (cssFile)->
|
|
|
path = Path.join("/stylesheets/", cssFile)
|
|
|
return Url.resolve(staticFilesBase, path) + "?fingerprint=" + getFingerprint(path)
|