diff --git a/scalingo.json b/scalingo.json new file mode 100644 index 0000000..b05abcb --- /dev/null +++ b/scalingo.json @@ -0,0 +1,3 @@ +{ + "addons": [] +} diff --git a/src/db/index.ts b/src/db/index.ts index 892d6c0..0e4cbef 100644 --- a/src/db/index.ts +++ b/src/db/index.ts @@ -46,9 +46,9 @@ export type SearchResult = Selectable; const db = new Kysely({ dialect: new PostgresDialect({ pool: new Pool({ - ...(process.env.DATABASE_URL + ...(process.env.APP_DB_URL ? { - connectionString: process.env.DATABASE_URL, + connectionString: process.env.APP_DB_URL, } : { // .devcontainer config