How to serve static assets and turn "Hello World Worker" c3 template into a Pages project?
Hi I just created a new project using c3 and no framework. I chose the option of "Hello World worker" in the c2 wizard.
I want to host this on Pages and use some static assets.
I am not sure how to do either.
For static assets, I have created a root level folder called "pub" and added my static assets there.
In wrangler.toml, i have;
Finally, my worker script is in the src/server.js file
0 Replies