Browse Source

Merge pull request 'fix-2744' (#2753) from fix-2744 into V20220830

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/2753
Reviewed-by: lewis <747342561@qq.com>
pull/2766/head
lewis 2 years ago
parent
commit
31ac3b5687
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/routes/routes.go

+ 1
- 1
routers/routes/routes.go View File

@@ -1193,7 +1193,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Get("", reqRepoCloudBrainReader, repo.NotebookShow)
m.Get("/debug", cloudbrain.AdminOrJobCreaterRight, repo.NotebookDebug2)
m.Post("/restart", cloudbrain.AdminOrJobCreaterRight, repo.NotebookRestart)
m.Post("/stop", cloudbrain.AdminOrJobCreaterRight, repo.NotebookStop)
m.Post("/stop", cloudbrain.AdminOrOwnerOrJobCreaterRight, repo.NotebookStop)
m.Post("/del", cloudbrain.AdminOrOwnerOrJobCreaterRight, repo.NotebookDel)
})
m.Get("/create", reqWechatBind, reqRepoCloudBrainWriter, repo.NotebookNew)


Loading…
Cancel
Save