Explorar o código

only hash when minified

Henry Oswald %!s(int64=9) %!d(string=hai) anos
pai
achega
f021f21f11
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/app/views/layout.pug

+ 1 - 1
services/web/app/views/layout.pug

@@ -143,7 +143,7 @@ html(itemscope, itemtype='http://schema.org/Product')
 					"paths" : {
 						"moment": "libs/#{lib('moment')}",
 						"fineuploader": "libs/#{lib('fineuploader')}",
-						"main": "#{buildJsPath('main.js', {hashedPath:true, fingerprint:false, removeExtension:true})}"
+						"main": "#{buildJsPath('main.js', {hashedPath:settings.useMinifiedJs, fingerprint:false, removeExtension:true})}",
 					},
 					"config":{
 						"moment":{