This commit is contained in:
Pagwin 2025-09-02 16:10:09 -04:00
parent 8f9ae95a00
commit bf57a8c59d

View file

@ -22,8 +22,7 @@ async function handle_redirect(req){
const up_promise = new Promise((res)=>{
db_req.onupgradeneeded = (event) => {
const db = event.target.result;
await IDB_cond_create(db, "light-dark-store", {});
res();
IDB_cond_create(db, "light-dark-store", {}).then(res);
}
};
const suc_promise = new Promise((res)=>{