From 4e1c8e0b85c1ea13e95b657610d932873c2fc379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20=C5=81aniewski?= Date: Sun, 7 Oct 2018 19:43:29 +0200 Subject: [PATCH] Fix baseUrl on production --- vue.config.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vue.config.js diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 0000000..c594725 --- /dev/null +++ b/vue.config.js @@ -0,0 +1,3 @@ +module.exports = { + baseUrl: process.env.NODE_ENV === "production" ? "/crypto-news/" : "/" +};