-
I wasn’t sure if
/src/index.ts
should contain the “fetch” function or the “scheduled” function. But in looking at the end of Ch. 1 there is an image of “Hello World!” displaying in the browser which helped. So I putindex.ts
back to the way it was (containing the “fetch” function) and created a new file to contain the “scheduled” function. -
Should the “scheduled” function be called by the worker? And if so how or what triggers it to be called?
-
My code can be found at
https://github.com/Chrisgo-75/serverless_apps_on_cloudfare
Thank you
Chris