Browse Source

Merge pull request '解决编译问题' (#1548) from fix-1541 into V20220228

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1548
Reviewed-by: lewis <747342561@qq.com>
tags/v1.22.2.2^2
lewis 3 years ago
parent
commit
6877aac0d7
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      routers/repo/cloudbrain.go
  2. +1
    -1
      routers/repo/modelarts.go

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

@@ -591,7 +591,7 @@ func CloudBrainDel(ctx *context.Context) {
if ctx.IsUserSiteAdmin() && isAdminPage == "true" { if ctx.IsUserSiteAdmin() && isAdminPage == "true" {
ctx.Redirect(setting.AppSubURL + "/admin" + "/cloudbrains") ctx.Redirect(setting.AppSubURL + "/admin" + "/cloudbrains")
} else { } else {
ctx.Redirect(setting.AppSubURL + ctx.Repo.RepoLink + "/debugjob?debugListType=all")
ctx.Redirect(setting.AppSubURL + ctx.Repo.RepoLink + "/debugjob?debugListType=" + listType)
} }
} }




+ 1
- 1
routers/repo/modelarts.go View File

@@ -449,7 +449,7 @@ func NotebookDel(ctx *context.Context) {
if ctx.IsUserSiteAdmin() && isAdminPage == "true" { if ctx.IsUserSiteAdmin() && isAdminPage == "true" {
ctx.Redirect(setting.AppSubURL + "/admin" + "/cloudbrains") ctx.Redirect(setting.AppSubURL + "/admin" + "/cloudbrains")
} else { } else {
ctx.Redirect(setting.AppSubURL + ctx.Repo.RepoLink + "/debugjob?debugListType=all")
ctx.Redirect(setting.AppSubURL + ctx.Repo.RepoLink + "/debugjob?debugListType=" + listType)
} }
} }




Loading…
Cancel
Save