Single fetch: allow setting a `nonce` on `StreamTransfer`'s `script` tags
haines opened this issue · comments
Andrew Haines commented
Expected Behavior
We have a CSP in place which requires a nonce on inline scripts, so we need to add that to the script
tags created in the StreamTransfer
component.
Actual Behavior
There is no way afaict to set the nonce for these scripts.
Matt Brophy commented
This fix is available in 2.9.2-pre.1
if you'd like to give it a shot and see if it resolves your issue! Here's the draft release notes: https://github.com/remix-run/remix/blob/release-next/CHANGELOG.md#v292
Matt Brophy commented
2.9.2
is released - https://github.com/remix-run/remix/releases/tag/remix%402.9.2