1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Exit app on "go back" at server selection page

This commit is contained in:
Dmitry Lyzo 2020-01-25 15:32:24 +03:00
parent 1ebf03d21b
commit d93c16ea72
2 changed files with 3 additions and 2 deletions

View file

@ -548,7 +548,7 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
/** /**
* Pages of "no return" (Go back). * Pages of "no return" (Go back).
*/ */
var startPages = ['home', 'login']; var startPages = ['home', 'login', 'selectserver'];
function canGoBack() { function canGoBack() {
var curr = current(); var curr = current();

View file

@ -313,7 +313,8 @@ define([
autoFocus: false, autoFocus: false,
anonymous: true, anonymous: true,
startup: true, startup: true,
controller: "auth/selectserver" controller: "auth/selectserver",
type: "selectserver"
}); });
defineRoute({ defineRoute({
path: "/serveractivity.html", path: "/serveractivity.html",