Closed RahulTinku closed 8 months ago
LGTM in general, seems there is lint issues (spacings)
from ChatGPT.
Thank you @jchip, I shall update the code accordingly.
@RahulTinku Could you create change files.
Hi @arunvishnun , I have added changelog. Thanks
Add ablity for applications to set their CSP headers which may include style-src & script-src. Applications can set their nonce value or use default nonce value provided by electrode as usual.
getCSPHeader is added in route options, which accepts a function. In this function application can generate the CSP and return it as string.