From 964bdf03b3d57944de613b679f3affee6cb7a412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Thu, 12 Dec 2019 10:27:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/AppConfig.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index ca6560ab0..13b0bd8c6 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -90,6 +90,13 @@ export function initAxiosInterceptors(props) { } } + if(config.params&&config.params.redirect_uri!=undefined){ + debugger + if(config.params.redirect_uri.indexOf('jupyters')!=-1){ + url = `${config.url}`; + } + } + if(`${config[0]}`!=`true`){ if (window.location.port === "3007") { // if (url.indexOf('.json') == -1) {