|
|
|
@ -52,6 +52,7 @@ export function initAxiosInterceptors(props) {
|
|
|
|
|
//proxy="http://47.96.87.25:48080"
|
|
|
|
|
proxy="https://pre-newweb.educoder.net"
|
|
|
|
|
proxy="https://test-newweb.educoder.net"
|
|
|
|
|
proxy="https://test-jupyterweb.educoder.net"
|
|
|
|
|
//proxy="http://192.168.2.63:3001"
|
|
|
|
|
|
|
|
|
|
// 在这里使用requestMap控制,避免用户通过双击等操作发出重复的请求;
|
|
|
|
@ -88,7 +89,12 @@ export function initAxiosInterceptors(props) {
|
|
|
|
|
url = `${config.url}`;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//保存jupyter 到 tpm 中 //获取jupyter 到 tpm 中
|
|
|
|
|
if(config.params&&config.params.redirect_uri!=undefined){
|
|
|
|
|
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) {
|
|
|
|
|