Nbc66
Nbc66
CDCloudflare Developers
Created by Nbc66 on 4/3/2024 in #workers-help
how can i fetch a .json file in a worker that is located localy inside of the worker
here is an example image of what i mean https://i.imgur.com/pm8Giv5.png how can i acess the routes.json file insdie my worker i tried using
fetch("./routes.json")
fetch("./routes.json")
any idea on how i can just fetch it to use it? i dont want to host it on s3 or r2 the ideal would be to just have it inside the worker itself and i want to keep it seperate since i dont want to manualy edit the code this way i can just edit a json file to specify new stuff for it
6 replies
CDCloudflare Developers
Created by Nbc66 on 2/16/2024 in #pages-help
can I create a page rule to redirect for example domain.com/r2/ to a public domain r2 bucket?
as the message said is it posible to create a page rule redirect so when i type in that url it will automatically redirect me to my public r2 bucket url so i can download the file easier
42 replies
CDCloudflare Developers
Created by Nbc66 on 3/21/2023 in #workers-help
making a worker to foward a message sent from 1 email to multiple emails
Hello im currently trying to figgure out a way to make a worker forward and email that a email adress recived and foward that to multiple other emails As im not tha experienced with workers i wanted to ask here what i could use to make that happen
16 replies