Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

correct HTTPS_ENABLED cast

Maidul Islam5c15fab46ef4
diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts
index 86b8db44e8..29f62cdc67 100644
--- a/backend/src/config/index.ts
+++ b/backend/src/config/index.ts
@@ -60,5 +60,5 @@ export const getHttpsEnabled = () => {
return true
}
- return Boolean(infisical.get('HTTPS_ENABLED'))
+ return infisical.get('HTTPS_ENABLED') === 'true' && true
}
\ No newline at end of file