Преглед изворни кода

Fix opts not passed to buildJsPath

Alasdair Smith пре 8 година
родитељ
комит
2e0804c728
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/web/app/coffee/infrastructure/ExpressLocals.coffee

+ 1 - 1
services/web/app/coffee/infrastructure/ExpressLocals.coffee

@@ -152,7 +152,7 @@ module.exports = (app, webRouter, privateApiRouter, publicApiRouter)->
 				path = Path.join(jsPath, jsFile)
 				return "#{Settings.webpack.host}:#{Settings.webpack.port}/public#{path}"
 			else
-				return res.locals.buildJsPath(jsFile)
+				return res.locals.buildJsPath(jsFile, opts)
 
 		res.locals.buildCssPath = (cssFile, opts)->
 			path = Path.join("/stylesheets/", cssFile)