diff options
author | HampusM <hampus@hampusmat.com> | 2021-07-25 22:42:54 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-07-25 22:42:54 +0200 |
commit | 9739d929188ed74a10f0eea9d2f2e6bb4decf191 (patch) | |
tree | 1c7fdfaaa0aa5c2aee9cb4458512bddafdd43734 /packages/client | |
parent | 4bbf220296765a20c3ba03c5351b21618a835424 (diff) |
Fixed an issue with the Vue config
Diffstat (limited to 'packages/client')
-rw-r--r-- | packages/client/vue.config.js | 5 |
1 files changed, 3 insertions, 2 deletions
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 |