diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-31 00:06:52 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-05-31 00:06:52 +0200 |
commit | 2212cbab4fea2f66b2736401a3f7f53f31bb898e (patch) | |
tree | b9b030e7c9c90531e245de4e443e871296e7409d /master/client/vue.config.js | |
parent | fc3167c1456031f48ae084dda661babf065f1dfb (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.js | 17 |
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 + } + } + } +}); |