From 2346708ab1dbabd81885e06047a76f6f526d511f Mon Sep 17 00:00:00 2001 From: maddalax Date: Fri, 1 Nov 2024 07:09:58 -0500 Subject: [PATCH] windows fix --- cli/htmgo/tasks/astgen/entry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/htmgo/tasks/astgen/entry.go b/cli/htmgo/tasks/astgen/entry.go index bc385a3..b115101 100644 --- a/cli/htmgo/tasks/astgen/entry.go +++ b/cli/htmgo/tasks/astgen/entry.go @@ -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, "/", "_")