Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: hostname from env var.

thorwebdevbfa8fcefb99c
diff --git a/examples/edge-functions/supabase/functions/kysely-postgres/index.ts b/examples/edge-functions/supabase/functions/kysely-postgres/index.ts
index 2fd3a97cf7c..4ce01728ddb 100644
--- a/examples/edge-functions/supabase/functions/kysely-postgres/index.ts
+++ b/examples/edge-functions/supabase/functions/kysely-postgres/index.ts
@@ -31,7 +31,7 @@ const pool = new Pool(
{
tls: { caCertificates: [Deno.env.get('DB_SSL_CERT')!] },
database: 'postgres',
- hostname: 'db.bljghubhkofddfrezkhn.supabase.co',
+ hostname: Deno.env.get('DB_HOSTNAME'),
user: 'postgres',
port: 5432,
password: Deno.env.get('DB_PASSWORD'),