JamFactoryApp / jamfactory-backend

JamFactory - Your virtual DJ with a democratic playlist ♫ This is the backend of the JamFactory app
https://jamfactory.app
7 stars 1 forks source link

SecureCookies should also be used if Jamfactory is running behind a proxy which handles https #91

Closed exp625 closed 3 years ago

exp625 commented 3 years ago

If the environment variable JAM_USE_HTTPS is set to false, the support for secure cookies is disabled

https://github.com/JamFactoryApp/jamfactory-backend/blob/833a90b2f00eaa807c2189763f5418aed50a41e8/pkg/config/config.go#L109

When using a reverse proxy to handle https, secure cookies should still be available.