correction OFFLINE_URL

This commit is contained in:
Adrien MALINGREY 2025-05-03 02:25:55 +02:00
parent 32db8f5a6c
commit 0dd9881f6d

@ -16,7 +16,7 @@ Copyright 2015, 2019, 2020 Google LLC. All Rights Reserved.
const OFFLINE_VERSION = 1;
const CACHE_NAME = "offline";
// Customize this with a different URL if needed.
const OFFLINE_URL = document.location.href;
const OFFLINE_URL = "index.php";
self.addEventListener("install", (event) => {
event.waitUntil(