From e56cddb3253895df3545d29b8469312cfa0673cd Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Fri, 17 Oct 2025 15:32:55 +0800 Subject: [PATCH 1/2] 1 --- pkg/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/router/router.go b/pkg/router/router.go index 78ede5d..3c8c9b4 100644 --- a/pkg/router/router.go +++ b/pkg/router/router.go @@ -197,7 +197,7 @@ func NewRouter() *gin.Engine { importRoute.POST("data/confirm", imports.WorkConfirm) } //้™ๆ€ๆ–‡ไปถ - r.StaticFS("/api/static", http.Dir("./runtime")) + r.StaticFS("/api/fiee/static", http.Dir("./runtime")) r.NoRoute(func(c *gin.Context) { c.JSON(http.StatusNotFound, gin.H{ "status": 1, From bce901e2a4fa868aeabfbf37d8763e63b0214e6c Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Fri, 17 Oct 2025 15:32:57 +0800 Subject: [PATCH 2/2] 1 --- pkg/service/bundle/bundleBalance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/service/bundle/bundleBalance.go b/pkg/service/bundle/bundleBalance.go index f8db3b9..af3b362 100644 --- a/pkg/service/bundle/bundleBalance.go +++ b/pkg/service/bundle/bundleBalance.go @@ -290,7 +290,7 @@ func BundleExport(ctx *gin.Context) { service.Error(ctx, err) return } - var exportUrl string = fmt.Sprintf("/static/%s", strings.Replace(filePath, "./runtime/", "", 1)) + var exportUrl string = fmt.Sprintf("%s:%s/api/fiee/static/%s",ctx.Request.URL.Scheme, ctx.Request.Host,strings.Replace(filePath, "./runtime/", "", 1)) service.Success(ctx, gin.H{ "url": exportUrl, })