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
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
https://i.imgur.com/pm8Giv5.png
how can i acess the routes.json file insdie my worker i tried using
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
Imgur
