Browse Source

fix-token-error

fix-notebook
yanchao 2 years ago
parent
commit
d01c0c485d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/modelarts.go

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

@@ -457,7 +457,7 @@ func NotebookDebug2(ctx *context.Context) {
} }


if ctx.QueryTrim("file") != "" { if ctx.QueryTrim("file") != "" {
ctx.Redirect(getFileUrl(result.Url, ctx.QueryTrim("file")) + "?token=" + result.Token)
ctx.Redirect(getFileUrl(result.Url, ctx.QueryTrim("file")) + "&token=" + result.Token)
} else { } else {
if task.BootFile != "" { if task.BootFile != "" {
go cloudbrainTask.UploadNotebookFiles(task) go cloudbrainTask.UploadNotebookFiles(task)


Loading…
Cancel
Save