This commit is contained in:
1-6
2023-07-25 16:54:37 +08:00
parent 3a09771432
commit 17006a989d
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -103,8 +103,8 @@ func initWeb() {
// 将路径转换为相对路径
relPath, err := filepath.Rel(dir, path)
relPath = name + "/" + relPath
is_index := relPath == "main.js"
relPath = name + "/" + relPath
if err != nil {
return err
}