We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a13c758 commit 3899598Copy full SHA for 3899598
packages/adapter-cloudflare-workers/files/entry.js
@@ -36,7 +36,9 @@ async function handle(event) {
36
rawBody: await read(request),
37
headers: Object.fromEntries(request.headers),
38
method: request.method,
39
- nonce: globalThis.GENERATE_NONCES && btoa(crypto.getRandomValues(new Uint32Array(2)))
+ nonce:
40
+ /* eslint-disable-line no-undef */ GENERATE_NONCES &&
41
+ btoa(crypto.getRandomValues(new Uint32Array(2)))
42
});
43
44
if (rendered) {
0 commit comments