Настройка правильных редиректов роутера

This commit is contained in:
Book Pauk
2021-11-07 15:38:17 +07:00
parent 084197530e
commit 6053ca6c0e
3 changed files with 29 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ const myRoutes = [
['/settings', Settings],
['/help', Help],
['/404', NotFound404],
['/(.*)', null, null, '/cardindex'],
['/:pathMatch(.*)*', null, null, '/cardindex'],
];
let routes = {};