You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks a lot for the the work on Hono and HonoX. It is awesome!
While experimenting with HonoX and the secure-headers middleware, I've noticed a little issue with the DEV setup. The dev-server.ts has an option (activated by default) to inject the client script (injectClientScript) which does the following:
What is the feature you are proposing?
First of all, thanks a lot for the the work on Hono and HonoX. It is awesome!
While experimenting with HonoX and the secure-headers middleware, I've noticed a little issue with the DEV setup. The dev-server.ts has an option (activated by default) to inject the client script (
injectClientScript
) which does the following:This currently results in a CSP violation as the nonce is not set on the script tag.
The following change should do the trick:
Related to
The text was updated successfully, but these errors were encountered: