Compare commits

..

No commits in common. "25ece0e1f9d4dd710995aab21a5f8ac633e44702" and "2fb4f8ac98cb30eadcadb11e50dc4468fe0ee5c5" have entirely different histories.

2 changed files with 7 additions and 3 deletions

View File

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