mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add react-router
This commit is contained in:
parent
6534c0a596
commit
b2372a96e2
16 changed files with 176 additions and 59 deletions
|
@ -122,7 +122,7 @@ class AppRouter {
|
|||
isBack: action === Action.Pop
|
||||
});
|
||||
} else {
|
||||
console.warn('[appRouter] "%s" route not found', normalizedPath, location);
|
||||
console.info('[appRouter] "%s" route not found', normalizedPath, location);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -139,7 +139,7 @@ class AppRouter {
|
|||
Events.on(apiClient, 'requestfail', this.onRequestFail);
|
||||
});
|
||||
|
||||
ServerConnections.connect().then(result => {
|
||||
return ServerConnections.connect().then(result => {
|
||||
this.firstConnectionResult = result;
|
||||
|
||||
// Handle the initial route
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue