This commit is contained in:
Pagwin 2025-09-04 16:56:33 -04:00
parent 88996a3688
commit 010a8c13d3

View file

@ -19,7 +19,7 @@ self.addEventListener("fetch", event =>{
})
async function handle_redirect(req){
const url = new URL(req);
const url = new URL(req.url);
const go_back_to = url.searchParams.get('ref') ?? '/';
console.log("ref:",url.searchParams.get('ref'), go_back_to);
const db_req = self.indexedDB.open("light-dark-store");