This commit is contained in:
Daniel
2024-12-24 16:33:24 +08:00
parent 78d5f54117
commit d34caba3bb
2 changed files with 6 additions and 0 deletions

View File

@@ -57,6 +57,9 @@ func statAsset(c *gin.Context) {
if strings.Contains(p, ":") {
p = strings.TrimPrefix(p, "/")
}
if strings.Contains(p, "?") {
p = p[:strings.Index(p, "?")]
}
} else {
ret.Code = 1
return