Compare commits

...

2 Commits

2 changed files with 3 additions and 7 deletions

View File

@ -350,13 +350,8 @@ export async function init_db() {
if (!is_db_initialized(user_database)) {
setup_db(user_database, USER_DATABASE_SETUP);
console.log("create user");
create_user({name: "PM", gender: "x", address: "home", username: "P", password: "M" });
}
console.log(do_users_exist())
}
export function close_db() {

View File

@ -25,11 +25,12 @@ const config = {
'script-src': ['self'],
'report-uri': ['/']
}
},
csrf: {
checkOrigin: false,
}
},
checkOrigin: false,
//warningFilter: (warning) => !warning.code.startsWith('a11y')
};