diff --git a/src/AppConfig.js b/src/AppConfig.js index ea85a4e5..d76e9999 100644 --- a/src/AppConfig.js +++ b/src/AppConfig.js @@ -32,7 +32,7 @@ export function initAxiosInterceptors(props) { // 判断网络是否连接 initOnlineOfflineListener(); - var proxy = "https://testforgeplus.trustie.net"; + var proxy = "https://code.mulanos.cn"; //响应前的设置 axios.interceptors.request.use( config => { @@ -45,11 +45,11 @@ export function initAxiosInterceptors(props) { if (`${config[0]}` !== `true`) { if (window.location.port === "3007") { config.url = `${proxy}${url}`; - if (config.url.indexOf('?') === -1) { - config.url = `${config.url}?debug=${debugType}`; - } else { - config.url = `${config.url}&debug=${debugType}`; - } + // if (config.url.indexOf('?') === -1) { + // config.url = `${config.url}?debug=${debugType}`; + // } else { + // config.url = `${config.url}&debug=${debugType}`; + // } } else { config.url = url; } diff --git a/src/forge/Head/Footer.jsx b/src/forge/Head/Footer.jsx index 79e4eef0..8293bd89 100644 --- a/src/forge/Head/Footer.jsx +++ b/src/forge/Head/Footer.jsx @@ -18,7 +18,10 @@ function Footer(){ } return(
sonar质量分析
+ { + sonar_url ? + {sonar_url} + : + + 暂时还没有检测结果 + { + projectDetail && projectDetail.permission && projectDetail.permission !=="Reporter" ? + 去检测 + :"" + } + + } +