api/v0: switch the API to the new model

This commit is contained in:
Lucas Gabriel Vuotto 2025-05-03 13:34:26 +00:00
parent 0635e37e13
commit 230c595e80
5 changed files with 99 additions and 137 deletions

View file

@ -1,5 +1,11 @@
use DBD::SQLite::Constants ":dbd_sqlite_string_mode";
{
dsn => "dbi:SQLite:db/pooru.db",
dbi_connect_args => {
# Highly recommended to keep this.
sqlite_string_mode => DBD_SQLITE_STRING_MODE_UNICODE_STRICT,
},
secrets => [
# Generate with "openssl rand -hex 32".