summaryrefslogtreecommitdiff
path: root/master/client/vue.config.js
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-31 00:06:52 +0200
committerHampusM <hampus@hampusmat.com>2022-05-31 00:06:52 +0200
commit2212cbab4fea2f66b2736401a3f7f53f31bb898e (patch)
treeb9b030e7c9c90531e245de4e443e871296e7409d /master/client/vue.config.js
parentfc3167c1456031f48ae084dda661babf065f1dfb (diff)
feat(master): client add get minion ips from backend
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
+ }
+ }
+ }
+});