aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/174bg.net/src
diff options
context:
space:
mode:
Diffstat (limited to 'communities/red-right-hand/174bg.net/src')
-rw-r--r--communities/red-right-hand/174bg.net/src/auth.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/communities/red-right-hand/174bg.net/src/auth.js b/communities/red-right-hand/174bg.net/src/auth.js
index b6162f0..ea5cced 100644
--- a/communities/red-right-hand/174bg.net/src/auth.js
+++ b/communities/red-right-hand/174bg.net/src/auth.js
@@ -8,6 +8,8 @@ const postgresPort = process.env.POSTGRES_PORT || 5432;
const postgresDatabase = process.env.POSTGRES_DB || "postgres";
export const auth = betterAuth({
+ baseURL: process.env.BETTER_AUTH_URL,
+ secret: process.env.BETTER_AUTH_SECRET,
database: new Pool({
connectionString: `postgresql://${postgresUser}:${postgresPassword}@${postgresHost}:${postgresPort}/${postgresDatabase}`,
}),