Rohan Vashisht
Rohan Vashisht
CDCloudflare Developers
Created by Rohan Vashisht on 12/30/2024 in #pages-help
How to implement nonce in _headers file?
ok, thanks
15 replies
CDCloudflare Developers
Created by Rohan Vashisht on 12/30/2024 in #pages-help
How to implement nonce in _headers file?
do we have some software that could calculate the hash for all the scripts for me?
15 replies
CDCloudflare Developers
Created by Rohan Vashisht on 12/30/2024 in #pages-help
How to implement nonce in _headers file?
this is the hash of the script itself
15 replies
CDCloudflare Developers
Created by Rohan Vashisht on 12/30/2024 in #pages-help
How to implement nonce in _headers file?
15 replies
CDCloudflare Developers
Created by Rohan Vashisht on 12/30/2024 in #pages-help
How to implement nonce in _headers file?
yes, how could I implement hash?
15 replies
CDCloudflare Developers
Created by Rohan Vashisht on 12/30/2024 in #pages-help
How to implement nonce in _headers file?
But what if my website is ssg?
15 replies
CDCloudflare Developers
Created by Rohan Vashisht on 12/30/2024 in #pages-help
How to implement nonce in _headers file?
thanks
15 replies
CDCloudflare Developers
Created by Rohan Vashisht on 12/30/2024 in #pages-help
How to implement nonce in _headers file?
but using a static nonce is just like not using a nonce right?
15 replies
CDCloudflare Developers
Created by CanRau on 12/12/2024 in #workers-help
Uncaught ReferenceError: MessageChannel is not defined
Anyways, I ain't from cloudflare, I am just someone like you getting errors and trying to fix them, lets wait for someone from cloudflare to reply
23 replies
CDCloudflare Developers
Created by CanRau on 12/12/2024 in #workers-help
Uncaught ReferenceError: MessageChannel is not defined
but, do this at your own risk, because using unupdated packages is generally considered a security vulnerability
23 replies
CDCloudflare Developers
Created by CanRau on 12/12/2024 in #workers-help
Uncaught ReferenceError: MessageChannel is not defined
An easy fix: just take your package.json to the previous configuration when it was working 🤣 And it really worked
23 replies
CDCloudflare Developers
Created by CanRau on 12/12/2024 in #workers-help
Uncaught ReferenceError: MessageChannel is not defined
Are you using astro? or just apis?
23 replies
CDCloudflare Developers
Created by CanRau on 12/12/2024 in #workers-help
Uncaught ReferenceError: MessageChannel is not defined
I am using pages and workers, I am getting this same issue
23 replies
CDCloudflare Developers
Created by CanRau on 12/12/2024 in #workers-help
Uncaught ReferenceError: MessageChannel is not defined
[wrangler:inf] Ready on http://localhost:8788
⎔ Starting local server...
✘ [ERROR] service core:user:zigistry: Uncaught ReferenceError: MessageChannel is not defined

at null.<anonymous> (g9werpoqfas.js:9183:18) in requireReactDomServer_browser_production
at null.<anonymous> (g9werpoqfas.js:13866:9) in requireServer_browser
at null.<anonymous> (g9werpoqfas.js:14087:29) in
.wrangler/tmp/pages-vjhWro/chunks/_@astro-renderers_Du4IiIVl.mjs
at null.<anonymous> (g9werpoqfas.js:18:59) in __init
at null.<anonymous> (g9werpoqfas.js:43883:1)



✘ [ERROR] The Workers runtime failed to start. There is likely additional logging output above.
[wrangler:inf] Ready on http://localhost:8788
⎔ Starting local server...
✘ [ERROR] service core:user:zigistry: Uncaught ReferenceError: MessageChannel is not defined

at null.<anonymous> (g9werpoqfas.js:9183:18) in requireReactDomServer_browser_production
at null.<anonymous> (g9werpoqfas.js:13866:9) in requireServer_browser
at null.<anonymous> (g9werpoqfas.js:14087:29) in
.wrangler/tmp/pages-vjhWro/chunks/_@astro-renderers_Du4IiIVl.mjs
at null.<anonymous> (g9werpoqfas.js:18:59) in __init
at null.<anonymous> (g9werpoqfas.js:43883:1)



✘ [ERROR] The Workers runtime failed to start. There is likely additional logging output above.
23 replies
CDCloudflare Developers
Created by CanRau on 12/12/2024 in #workers-help
Uncaught ReferenceError: MessageChannel is not defined
Hello! Same issue here
23 replies
CDCloudflare Developers
Created by Rohan Vashisht on 11/20/2024 in #workers-help
Your worker exceeded 1mb
Any possible way we can restrict including json files in this limit? Because as far as I know the limit of 3mb is set to reduce boot time, but I don't think json would increase boot time?
8 replies
CDCloudflare Developers
Created by Rohan Vashisht on 11/20/2024 in #workers-help
Your worker exceeded 1mb
Thanks a lot, Does this 3mb include imported json files? The thing is that I have tsx file which imports json and that json is huge, So, does this 3mb include import json?
8 replies
CDCloudflare Developers
Created by Rohan Vashisht on 10/15/2024 in #pages-help
What is Cloudflare using to do SSR? Bun? npm?
thanks a lot
7 replies
CDCloudflare Developers
Created by Rohan Vashisht on 10/15/2024 in #pages-help
What is Cloudflare using to do SSR? Bun? npm?
So, it doesn't matter what I use for building, the running performance would depend on workerd only right?
7 replies
CDCloudflare Developers
Created by Rohan Vashisht on 10/15/2024 in #pages-help
What is Cloudflare using to do SSR? Bun? npm?
the nodejs-compact is what is running in it right?
7 replies