wl
2023-01-31 cd2a5241cdbee482652d987c3553f7aa2e2d0679
fix: bug
1个文件已修改
2个文件已添加
38 ■■■■■ 已修改文件
.history/vue.config_20221013142211.js 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.history/vue.config_20221223150042.js 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.history/vue.config_20221013142211.js
New file
@@ -0,0 +1,18 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
      host: 'localhost',
      port: 9098,
      open: true,
    proxy: {
      '/api': {
        target: 'http://localhost:9099',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
})
.history/vue.config_20221223150042.js
New file
@@ -0,0 +1,18 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
      host: 'localhost',
      port: 9098,
      open: true,
    proxy: {
      '/api': {
        target: 'http://42.193.1.25:8888',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
})
vue.config.js
@@ -7,7 +7,7 @@
      open: true,
    proxy: {
      '/api': {
        target: 'http://localhost:9099',
        target: 'http://42.193.1.25:8888',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''