测试用接口地址

This commit is contained in:
黄心宇 2024-01-12 14:06:02 +08:00
parent 1c24cb9408
commit 9294c5f120
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ const app = express();
app.use('/build', express.static('build'));
const targetServer = 'http://localhost:4000'; // Java 服务器的地址
const targetServer = 'http://172.20.32.202:4000'; // Java 服务器的地址
const options = {
target: targetServer,
changeOrigin: true, // 允许在请求头中更改主机

View File

@ -1,6 +1,6 @@
import axios from 'axios';
const baseUrl = '/api'
const baseUrl = 'http://172.20.32.202:4000/api'
//
export async function getProjectFunc (owner, projectsId) {