This commit is contained in:
velzie 2024-08-25 00:17:39 -04:00
parent 4ac0fce534
commit 8666196db3
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
2 changed files with 5 additions and 4 deletions

View file

@ -45,6 +45,7 @@ export class ScramjetClient {
documentProxy: any;
windowProxy: any;
locationProxy: any;
serviceWorker: ServiceWorkerContainer;
cookieStore = new CookieStore();
@ -75,6 +76,7 @@ export class ScramjetClient {
}
hook() {
this.serviceWorker = navigator.serviceWorker;
// @ts-ignore
const context = import.meta.webpackContext(".", {
recursive: true,