mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update docked tabs
This commit is contained in:
parent
818ee2bcc3
commit
16e66718f9
9 changed files with 147 additions and 80 deletions
|
@ -7,6 +7,8 @@ var staticFileBaseUrl = baseUrl + '/staticfiles';
|
|||
console.log('service worker location: ' + self.location);
|
||||
console.log('service worker base url: ' + baseUrl);
|
||||
|
||||
var connectionManager;
|
||||
|
||||
function getStaticFileList() {
|
||||
|
||||
if (staticFileList) {
|
||||
|
@ -100,6 +102,13 @@ self.addEventListener('activate', function (event) {
|
|||
});
|
||||
|
||||
function getApiClient(serverId) {
|
||||
|
||||
if (connectionManager) {
|
||||
return Promise.resolve(connectionManager.getApiClient(serverId));
|
||||
}
|
||||
|
||||
//importScripts('serviceworker-cache-polyfill.js');
|
||||
|
||||
return Promise.reject();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue