So I have a react static page, built with vite(rollup), I need to create a functions folder and list
So I have a react static page, built with vite(rollup), I need to create a functions folder and listen to fetch events like this:
In this example, MY_WORKER_SERVICE is the name I gave to the service binding in the Cloudflare Pages dashboard.
using the SERVICE and in the static code just request to localhost/api.....?
In this example, MY_WORKER_SERVICE is the name I gave to the service binding in the Cloudflare Pages dashboard.
using the SERVICE and in the static code just request to localhost/api.....?

