From 0738198b736cf87b26643f5797884e69e0d7e5e0 Mon Sep 17 00:00:00 2001 From: Roger Gammans Date: Sun, 30 Mar 2025 11:41:41 +0100 Subject: [PATCH] Make DATABASE_SSL be parsed as an integer. This means setting DATABASE_SSL=0 ,does not enable the SSL remove a point of surprise. --- config/custom-environment-variables.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/custom-environment-variables.json b/config/custom-environment-variables.json index 26afbe7..e69deca 100644 --- a/config/custom-environment-variables.json +++ b/config/custom-environment-variables.json @@ -1,7 +1,10 @@ { "app": { "dbURL": "DATABASE_URL", - "dbSSL": "DATABASE_SSL", + "dbSSL": { + "__name": "DATABASE_SSL", + "__format": "number" + }, "dbPoolSize": "DATABASE_POOL_SIZE", "sessionType": "SESSION_TYPE", "sessionSecret": "SESSION_SECRET",