From 12a4e849fdceff4bdddceefbf77e65738b847d8d Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Mon, 21 Nov 2022 18:02:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/repo/cloudbrain.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routers/repo/cloudbrain.go b/routers/repo/cloudbrain.go index afe69cac5..47be8ed75 100755 --- a/routers/repo/cloudbrain.go +++ b/routers/repo/cloudbrain.go @@ -873,7 +873,8 @@ func CloudBrainDebug(ctx *context.Context) { task := ctx.Cloudbrain debugUrl := setting.DebugServerHost + "jpylab_" + task.JobID + "_" + task.SubTaskName if task.BootFile!=""{ - getFileUrl(debugUrl,task.BootFile) + ctx.Redirect(getFileUrl(debugUrl,task.BootFile)) + }else{ ctx.Redirect(debugUrl) }