aboutsummaryrefslogtreecommitdiff
path: root/packages/client/vue.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/client/vue.config.js')
-rw-r--r--packages/client/vue.config.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/client/vue.config.js b/packages/client/vue.config.js
index cf7622e..f19863a 100644
--- a/packages/client/vue.config.js
+++ b/packages/client/vue.config.js
@@ -1,13 +1,12 @@
-const yaml = require("js-yaml");
const fs = require("fs");
const path = require("path");
-const settings = yaml.load(fs.readFileSync(path.join(__dirname, "/../../settings.yml"), "utf8"));
+const settings = JSON.parse(fs.readFileSync(path.join(__dirname, "/../../settings.json"), "utf-8"));
module.exports = {
devServer: {
host: settings.host,
- port: settings.dev_port,
+ port: settings.dev.port,
proxy: {
"^/api": {
target: `http://${settings.host}:${settings.port}`,