fix fallback component routing for invalid env config

ref #10
This commit is contained in:
Philipp Dormann 2021-03-09 17:39:20 +01:00
parent 641e7a0d8f
commit 56daa7c501
1 changed files with 1 additions and 1 deletions

View File

@ -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 = [