From 56daa7c501e3f59e988f1912ed397e43d6311572 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Tue, 9 Mar 2021 17:39:20 +0100 Subject: [PATCH] fix fallback component routing for invalid env config ref #10 --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 188d3ff..0611093 100644 --- a/src/main.js +++ b/src/main.js @@ -28,7 +28,7 @@ const Privacy = import('./components/Privacy.vue'); const Register = import('./components/Register.vue'); const Profile = () => import('./components/Profile.vue'); // -let routes = [ { path: '/', component: EnvError } ]; +let routes = [ { path: '/:pathMatch(.*)*', component: EnvError } ]; if (typeof config !== 'undefined') { if (config.baseurl && config.documentserver_key) { routes = [