mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
hls updates
This commit is contained in:
parent
bbdbdf346e
commit
9fc4c86111
19 changed files with 255 additions and 246 deletions
|
@ -105,12 +105,12 @@
|
|||
var newUrl;
|
||||
|
||||
if (user.Policy.IsAdministrator && !serverId) {
|
||||
newUrl = "dashboard.html?u=" + user.Id + '&t=' + result.AccessToken;
|
||||
newUrl = "dashboard.html";
|
||||
} else {
|
||||
newUrl = "index.html?u=" + user.Id + '&t=' + result.AccessToken;
|
||||
newUrl = "index.html";
|
||||
}
|
||||
|
||||
Dashboard.onServerChanged(apiClient.serverAddress(), user.Id, result.AccessToken, apiClient);
|
||||
Dashboard.onServerChanged(user.Id, result.AccessToken, apiClient);
|
||||
Dashboard.navigate(newUrl);
|
||||
|
||||
}).fail(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue