Compare commits
2 Commits
2fb4f8ac98
...
25ece0e1f9
| Author | SHA1 | Date |
|---|---|---|
|
|
25ece0e1f9 | |
|
|
1a456ca23d |
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -25,11 +25,12 @@ const config = {
|
|||
'script-src': ['self'],
|
||||
'report-uri': ['/']
|
||||
}
|
||||
},
|
||||
csrf: {
|
||||
checkOrigin: false,
|
||||
}
|
||||
},
|
||||
|
||||
checkOrigin: false,
|
||||
|
||||
//warningFilter: (warning) => !warning.code.startsWith('a11y')
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue