Update frontend/babel.config.js
Browse files- 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:
|
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 |
},
|