### Kyoo's version v5 ### What happened? When `PGSSLMODE` env variable was set to `prefer`, kyoo_apicould not connect to the database. Logs showed the following: ```log error: The server does not support SSL connections at <anonymous> (/$bunfs/root/server:8:16058) ``` Looking through the code, I see there's a comment about an upstream bug. https://github.com/zoriya/Kyoo/blob/master/api/src/db/index.ts#L22-L24
Kyoo's version
v5
What happened?
When
PGSSLMODEenv variable was set toprefer, kyoo_apicould not connect to the database. Logs showed the following:Looking through the code, I see there's a comment about an upstream bug.
https://github.com/zoriya/Kyoo/blob/master/api/src/db/index.ts#L22-L24