Use pg Pool options instead of connection string for geo DB

Fixkamo-analytics
Shipped
2026年4月17日 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

配送を見るのが好きですか?

これらのアップデートは、自動的にワークスペースに埋め込まれます。 週1回無料スタートし、週1回生育する.

永遠に無料で始める料金を見る