diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-13 16:58:47 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-05-13 16:58:47 +0100 |
| commit | 005a92d247e42d56a4f950f1f8c730686e6e5a88 (patch) | |
| tree | 60f8b61bac5a89f50c3250fe220500275bcd5553 /communities | |
| parent | 633b88e2ade9aa059b0fe95bf6b441a8efebdf44 (diff) | |
| download | unnamed-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')
| -rw-r--r-- | communities/red-right-hand/174bg.net/src/auth.js | 2 |
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}`, }), |
