diff --git a/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js b/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js index e137dc883..bf98054d7 100644 --- a/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js +++ b/public/react/src/modules/tpm/shixunchild/Challenges/Challengesjupyter.js @@ -98,8 +98,11 @@ class Challengesjupyter extends Component { if(response.data.status===0){ setTimeout(() => { + + var url=response.data.url; + var url2=url.replace("http://","https://"); this.setState({ - jupyter_url:response.data.url, + jupyter_url:url2, jupyter_port:response.data.port, booljupyterurls:true, })