Explorar el Código

Fix webpack config so that it's more consistent

Alasdair Smith hace 8 años
padre
commit
e9ba73138e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/web/app/coffee/infrastructure/ExpressLocals.coffee

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

@@ -150,7 +150,7 @@ module.exports = (app, webRouter, privateApiRouter, publicApiRouter)->
 		res.locals.buildWebpackPath = (jsFile, opts = {}) ->
 			if Settings.webpack? and !Settings.useMinifiedJs
 				path = Path.join(jsPath, jsFile)
-				return "#{Settings.webpack.host}:#{Settings.webpack.port}/public#{path}"
+				return "#{Settings.webpack.url}/public#{path}"
 			else
 				return res.locals.buildJsPath(jsFile, opts)