Skip to content

Commit 99f0446

Browse files
authored
Merge pull request #281 from GeekGene/fix/index-html-redirect
fix(ui): redirect /index.html -> / for use in launcher
2 parents 42892bf + a1b6d7a commit 99f0446

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/src/router.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ export const routes: RouteRecordRaw[] = [
3434
redirect: () =>
3535
getHomeRedirect() ? { path: ROUTES.discover } : { name: ROUTES.feed },
3636
},
37+
{
38+
path: "/index.html",
39+
redirect: () => "/"
40+
},
3741
{
3842
path: "/feed",
3943
name: ROUTES.feed,

0 commit comments

Comments
 (0)