This commit is contained in:
Pagwin 2025-09-02 16:14:50 -04:00
parent 4e4e2c6fde
commit 721cff0a1a

View file

@ -35,7 +35,7 @@ async function handle_redirect(req){
toggleLightDark(transaction);
transaction.commit();
};
};
});
await Promise.all([up_promise, suc_promise]);
const referrer = request.headers.get('Referer') || '/';
return new Response("You should be getting redirected back to the page you came from shortly",{
@ -43,7 +43,7 @@ async function handle_redirect(req){
headers: {
'Location': referrer
}
})
});
}
function IDB_cond_create(db, objectStoreName, opts={}){
return new Promise((res)=>{