aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/174bg.net/src
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-13 16:58:47 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-13 16:58:47 +0100
commit005a92d247e42d56a4f950f1f8c730686e6e5a88 (patch)
tree60f8b61bac5a89f50c3250fe220500275bcd5553 /communities/red-right-hand/174bg.net/src
parent633b88e2ade9aa059b0fe95bf6b441a8efebdf44 (diff)
downloadunnamed-group-005a92d247e42d56a4f950f1f8c730686e6e5a88.tar
unnamed-group-005a92d247e42d56a4f950f1f8c730686e6e5a88.tar.gz
unnamed-group-005a92d247e42d56a4f950f1f8c730686e6e5a88.tar.bz2
unnamed-group-005a92d247e42d56a4f950f1f8c730686e6e5a88.tar.xz
unnamed-group-005a92d247e42d56a4f950f1f8c730686e6e5a88.zip
add env to better auth
config
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}`,
}),