R
Railway14mo ago
mihaa123

Removing or modifying CSP headers in deployed app

I have a newly deployed app, and trying to add authorizer plugin. Works in local - but in production, CSP headers are blocking it. Where can I remove them or modify them to allow new domains?
5 Replies
Percy
Percy14mo ago
Project ID: N/A
mihaa123
mihaa123OP14mo ago
N/A
Brody
Brody14mo ago
your app is responsible for setting whatever headers you may need. what kind of app are you deploying?
mihaa123
mihaa123OP14mo ago
@Brody u sir are correct and deserve a cookie. I had added a middleware called hemlet in my express server that was implicitly adding csp headers
Brody
Brody14mo ago
Great!
Want results from more Discord servers?
Add your server