Browse Source

Merge branch 'V20220616' of git.openi.org.cn:OpenI/aiforge into grampus

pull/2379/head
lewis 3 years ago
parent
commit
3485ea055a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      routers/repo/cloudbrain.go

+ 1
- 0
routers/repo/cloudbrain.go View File

@@ -1151,6 +1151,7 @@ func CloudBrainDownloadModel(ctx *context.Context) {
ctx.ServerError("PresignedGetURL", err)
return
}
ctx.Resp.Header().Set("Cache-Control", "max-age=0")
http.Redirect(ctx.Resp, ctx.Req.Request, url, http.StatusMovedPermanently)
}



Loading…
Cancel
Save