summaryrefslogtreecommitdiff
path: root/master/client/vue.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'master/client/vue.config.js')
-rw-r--r--master/client/vue.config.js17
1 files changed, 14 insertions, 3 deletions
diff --git a/master/client/vue.config.js b/master/client/vue.config.js
index 910e297..1f0e2b3 100644
--- a/master/client/vue.config.js
+++ b/master/client/vue.config.js
@@ -1,4 +1,15 @@
-const { defineConfig } = require('@vue/cli-service')
+const { defineConfig } = require("@vue/cli-service");
+
module.exports = defineConfig({
- transpileDependencies: true
-})
+ transpileDependencies: true,
+ devServer: {
+ host: "192.168.1.213",
+ port: 8080,
+ proxy: {
+ "^/api": {
+ target: "http://192.168.1.213:80",
+ changeOrigin: true
+ }
+ }
+ }
+});