windows fix

This commit is contained in:
maddalax 2024-11-01 07:09:58 -05:00
parent 25c216e2b6
commit 2346708ab1

View file

@ -443,7 +443,7 @@ func writeAssetsFile() {
}
path = strings.ReplaceAll(path, distAssets, "")
httpUrl := fmt.Sprintf("%s%s", config.PublicAssetPath, path)
httpUrl := normalizePath(fmt.Sprintf("%s%s", config.PublicAssetPath, path))
path = normalizePath(path)
path = strings.ReplaceAll(path, "/", "_")