Use pg Pool options instead of connection string for geo DB

Fixkamo-analytics
Shipped
2026년 4월 17일 오후 11: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

배송을 보는 것과 같이?

작업 공간의 모든 업데이트 땅은 자동으로. 일주일 후 무료로 시청하십시오.

무료 영원히 시작가격 비교