dwyl / hapi-postgres-connection

:zap: Creates a PostgreSQL Connection (Pool) available anywhere in your Hapi App
GNU General Public License v2.0
40 stars 13 forks source link

Fix reading DATABASE_SSL env #48

Open hector-del-rio opened 3 years ago

nelsonic commented 3 years ago

HI @hector-del-rio could you please let us know what issue this refers to? thanks. 👍

hector-del-rio commented 3 years ago

Yes, so setting DATABASE_SSL env to "true" will set the pool option to ssl: 'true', which I believe is incorrect. It should be either a boolean or an object.