paleDriver7 commited on
Commit
4ff8480
1 Parent(s): 0ae1033

Update frontend/vue.config.js

Browse files
Files changed (1) hide show
  1. frontend/vue.config.js +1 -1
frontend/vue.config.js CHANGED
@@ -2,7 +2,7 @@ module.exports = {
2
  devServer: {
3
  proxy: {
4
  '/api': {
5
- target: 'http://localhost:5000', // 后端 API 地址
6
  changeOrigin: true,
7
  pathRewrite: { '^/api': '' },
8
  },
 
2
  devServer: {
3
  proxy: {
4
  '/api': {
5
+ target: 'http://localhost:7860', // 后端 API 地址
6
  changeOrigin: true,
7
  pathRewrite: { '^/api': '' },
8
  },