From 9739d929188ed74a10f0eea9d2f2e6bb4decf191 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 25 Jul 2021 22:42:54 +0200 Subject: Fixed an issue with the Vue config --- packages/client/vue.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/client/vue.config.js') diff --git a/packages/client/vue.config.js b/packages/client/vue.config.js index f35b739..cf7622e 100644 --- a/packages/client/vue.config.js +++ b/packages/client/vue.config.js @@ -1,7 +1,8 @@ const yaml = require("js-yaml"); const fs = require("fs"); +const path = require("path"); -const settings = yaml.load(fs.readFileSync(`${__dirname}/../../settings.yml`, "utf8")); +const settings = yaml.load(fs.readFileSync(path.join(__dirname, "/../../settings.yml"), "utf8")); module.exports = { devServer: { @@ -30,4 +31,4 @@ module.exports = { return args; }); } -}; +}; \ No newline at end of file -- cgit v1.2.3-18-g5258