This commit is contained in:
lzh 2025-10-17 15:32:57 +08:00
parent e56cddb325
commit bce901e2a4

View File

@ -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,
})