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

Merge pull request #4110 from thornbill/fix-chunk-names

This commit is contained in:
Bill Thornton 2022-10-27 07:24:47 -04:00 committed by GitHub
commit d37844b84e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -262,7 +262,7 @@ class AppRouter {
}; };
if (route.controller) { if (route.controller) {
import('../controllers/' + route.controller).then(onInitComplete); import(/* webpackChunkName: "[request]" */ '../controllers/' + route.controller).then(onInitComplete);
} else { } else {
onInitComplete(); onInitComplete();
} }

View file

@ -192,7 +192,7 @@ const Direction = {
const url = filtered[0].path; const url = filtered[0].path;
import(`../strings/${url}`).then((fileContent) => { import(/* webpackChunkName: "[request]" */ `../strings/${url}`).then((fileContent) => {
resolve(fileContent); resolve(fileContent);
}).catch(() => { }).catch(() => {
resolve({}); resolve({});