We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd5d44a commit 8bce945Copy full SHA for 8bce945
src/server/constants.ts
@@ -12,7 +12,9 @@ const PG_CONN_TIMEOUT_SECS = Number(process.env.PG_CONN_TIMEOUT_SECS || 15)
12
13
export const PG_CONNECTION =
14
process.env.PG_META_DB_URL ||
15
- `postgres://${PG_META_DB_USER}:${PG_META_DB_PASSWORD}@${PG_META_DB_HOST}:${PG_META_DB_PORT}/${PG_META_DB_NAME}?sslmode=${PG_META_DB_SSL_MODE}`
+ `postgres://${PG_META_DB_USER}:${encodeURIComponent(
16
+ PG_META_DB_PASSWORD
17
+ )}@${PG_META_DB_HOST}:${PG_META_DB_PORT}/${PG_META_DB_NAME}?sslmode=${PG_META_DB_SSL_MODE}`
18
19
export const EXPORT_DOCS = process.argv[2] === 'docs' && process.argv[3] === 'export'
20
export const GENERATE_TYPES =
0 commit comments