Add 404 redirect

This commit is contained in:
Dominik Korsa 2019-06-12 10:47:25 +02:00
parent 41a31fdd91
commit 6023d85032

View file

@ -22,5 +22,9 @@ export default new Router({
path: '*.html',
redirect: to => to.params.pathMatch,
},
{
path: '*',
redirect: '/',
},
],
});