R
Railway13mo 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
Percy13mo ago
Project ID: N/A
mihaa123
mihaa12313mo ago
N/A
Brody
Brody13mo ago
your app is responsible for setting whatever headers you may need. what kind of app are you deploying?
mihaa123
mihaa12313mo 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
Brody13mo ago
Great!
Want results from more Discord servers?
Add your server