|
|
@@ -873,7 +873,8 @@ func CloudBrainDebug(ctx *context.Context) { |
|
|
task := ctx.Cloudbrain |
|
|
task := ctx.Cloudbrain |
|
|
debugUrl := setting.DebugServerHost + "jpylab_" + task.JobID + "_" + task.SubTaskName |
|
|
debugUrl := setting.DebugServerHost + "jpylab_" + task.JobID + "_" + task.SubTaskName |
|
|
if task.BootFile!=""{ |
|
|
if task.BootFile!=""{ |
|
|
getFileUrl(debugUrl,task.BootFile) |
|
|
|
|
|
|
|
|
ctx.Redirect(getFileUrl(debugUrl,task.BootFile)) |
|
|
|
|
|
|
|
|
}else{ |
|
|
}else{ |
|
|
ctx.Redirect(debugUrl) |
|
|
ctx.Redirect(debugUrl) |
|
|
} |
|
|
} |
|
|
|