paleDriver7 commited on
Commit
f6dd63d
·
verified ·
1 Parent(s): e2668b4

Update frontend/babel.config.js

Browse files
Files changed (1) hide show
  1. frontend/babel.config.js +1 -1
frontend/babel.config.js CHANGED
@@ -7,7 +7,7 @@ module.exports = {
7
  devServer: {
8
  proxy: {
9
  '/api': {
10
- target: 'http://localhost:8000', // 后端服务器地址
11
  changeOrigin: true,
12
  pathRewrite: { '^/api': '' },
13
  },
 
7
  devServer: {
8
  proxy: {
9
  '/api': {
10
+ target: 'http://localhost:5000', // 后端服务器地址
11
  changeOrigin: true,
12
  pathRewrite: { '^/api': '' },
13
  },