测试用接口地址
This commit is contained in:
parent
1c24cb9408
commit
9294c5f120
|
@ -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, // 允许在请求头中更改主机
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue