From 2212cbab4fea2f66b2736401a3f7f53f31bb898e Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 31 May 2022 00:06:52 +0200 Subject: feat(master): client add get minion ips from backend --- master/client/vue.config.js | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'master/client/vue.config.js') 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 + } + } + } +}); -- cgit v1.2.3-18-g5258