Replace index.html

This commit is contained in:
Dennis Heinrich 2025-04-06 01:10:11 +02:00
parent b0cff2c55f
commit f3cb932654

View file

@ -24,7 +24,7 @@ const FILES_TO_CACHE = [
const FILES_TO_CACHE_PREFIXED = FILES_TO_CACHE.map(e => {
let origin = self.location.origin;
let origin = self.location.href.replace('index.html', '');
return origin + e;
})