This commit is contained in:
nopy 2024-07-11 21:20:38 +08:00
parent eb068333c6
commit d6b1aae7cd
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@ function Operation2() {
{/* 前端连接数据库⬇ */}
{ !isTrue&&TrainData&&Src&&<div>
<p style={{fontSize:'26px'}}>题目{TrainData['operateID'][3][0]}</p>
<span style={{fontSize:'18px',marginLeft:'50px'}}>点击此链接进入到ide编辑代码:</span>
<span style={{fontSize:'18px',marginLeft:'50px'}}>点击此链接进入到ide编辑代码(sudo密码123456):</span>
<br />
<Link to={Src[6]} style={{fontSize:'18px',marginLeft:'90px'}} target='_blank'>{Src[6]}</Link>
<br />

View File

@ -4,7 +4,7 @@ module.exports = function(app) {
app.use(
'/api', // 如果请求路径匹配'/api',则进行代理
createProxyMiddleware({
target: 'http://127.0.0.1:5000', // 目标后端服务地址
target: 'http://127.0.0.1:8000', // 目标后端服务地址
changeOrigin: true,
})
);