From 4842039ed37c04bff8838f0c3f28020d8c6ce8d4 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Wed, 8 Nov 2023 19:47:52 +0300 Subject: [PATCH 1/2] fix manifest start_url --- src/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manifest.json b/src/manifest.json index 5b5ecd55169..f220dcaa37b 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -3,7 +3,7 @@ "description": "The Free Software Media System", "lang": "en-US", "short_name": "Jellyfin", - "start_url": "index.html#!/home.html", + "start_url": "index.html#/home.html", "theme_color": "#101010", "background_color": "#101010", "display": "standalone", From e7d00d7e2451ba7c200be2ca50eb238b155c2bae Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Wed, 8 Nov 2023 19:48:54 +0300 Subject: [PATCH 2/2] add AbortController polyfill --- package-lock.json | 11 +++++++++++ package.json | 1 + src/index.jsx | 1 + 3 files changed, 13 insertions(+) diff --git a/package-lock.json b/package-lock.json index 86ef809e00e..9bb907fb0a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,6 +25,7 @@ "@react-hook/resize-observer": "1.2.6", "@tanstack/react-query": "4.36.1", "@tanstack/react-query-devtools": "4.36.1", + "abortcontroller-polyfill": "1.7.5", "blurhash": "2.0.5", "classlist.js": "https://github.com/eligrey/classList.js/archive/1.2.20180112.tar.gz", "classnames": "2.3.2", @@ -4956,6 +4957,11 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "optional": true }, + "node_modules/abortcontroller-polyfill": { + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz", + "integrity": "sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ==" + }, "node_modules/accepts": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", @@ -25130,6 +25136,11 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "optional": true }, + "abortcontroller-polyfill": { + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz", + "integrity": "sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ==" + }, "accepts": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", diff --git a/package.json b/package.json index d4f41f4cba7..a613e70c146 100644 --- a/package.json +++ b/package.json @@ -85,6 +85,7 @@ "@react-hook/resize-observer": "1.2.6", "@tanstack/react-query": "4.36.1", "@tanstack/react-query-devtools": "4.36.1", + "abortcontroller-polyfill": "1.7.5", "blurhash": "2.0.5", "classlist.js": "https://github.com/eligrey/classList.js/archive/1.2.20180112.tar.gz", "classnames": "2.3.2", diff --git a/src/index.jsx b/src/index.jsx index cf0e6cafb9b..40506c9f844 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -1,6 +1,7 @@ import 'core-js/stable'; import 'regenerator-runtime/runtime'; import 'jquery'; +import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'; import 'fast-text-encoding'; import 'intersection-observer'; import 'classlist.js';