Closed liamwhite closed 2 months ago
"Fixes" https://github.com/philomena-dev/philomena/issues/235
There isn't a way to tell whether Plug.Debugger has rendered something, so just delete the CSP unconditionally on 500 responses in development/test mode. No change for prod mode.
"Fixes" https://github.com/philomena-dev/philomena/issues/235
There isn't a way to tell whether Plug.Debugger has rendered something, so just delete the CSP unconditionally on 500 responses in development/test mode. No change for prod mode.