Use pg Pool options instead of connection string for geo DB

Fixkamo-analytics
Shipped
17 Nisan 2026 23:20 UTC
Author
Kamo
Commit
678cd66

CockroachDB rejects insecure connections and node-pg can't verify self-signed certs via connection string alone. Parse the URL into Pool options and pass ssl:{rejectUnauthorized:false} when sslmode != disable. Also switch GEO_DATABASE_URL to secretKeyRef from analytics-secret so the password (URL-encoded) is not committed to the repo.

All changes

Kargoyu gördüğünüz gibi?

İş alanınızda bu güncellemelerden her biri otomatik olarak. Ücretsiz başlayın ve haftadan sonra büyümesini izleyin.

Sonsuza Kadar Ücretsiz BaşlangıçFırsatları Görüntüle