Commit b95d881a by 胡悦

提交

1 parent 6c7970b8
/*
* @Description:
* @Author: huyue
* @Date: 2023-01-16 17:23:14
* @LastEditors: huyue
* @LastEditTime: 2023-04-12 19:19:28
*/
const { defineConfig } = require("@vue/cli-service"); const { defineConfig } = require("@vue/cli-service");
const AutoImport = require("unplugin-auto-import/webpack"); const AutoImport = require("unplugin-auto-import/webpack");
const Components = require("unplugin-vue-components/webpack"); const Components = require("unplugin-vue-components/webpack");
...@@ -18,7 +25,7 @@ module.exports = defineConfig({ ...@@ -18,7 +25,7 @@ module.exports = defineConfig({
devServer: { devServer: {
proxy: { proxy: {
"/api": { "/api": {
target: "http://127.0.0.1:7001", target: "http://192.168.1.68:7001",
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { "^/api": "" }, pathRewrite: { "^/api": "" },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!