Default example that generates when initializing cloudflare worker project not working.
I am trying to run this cloudflare worker code that generated when the project was initialized but it gives me an error.
Code: https://hastebin.com/share/meyiraluce.typescript
Error: https://hastebin.com/share/atedazewov.typescript
https://hastebin.com/share/anemunukoq.javascript
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
4 Replies
The generated Worker only handles
cron
events, which means that navigating to it shouldn't do anything.ooh I get it, thanks. It was my misunderstanding.
i should use the /scheduled endpoint right?
with scheduled flag
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
Now i got a longer error 😭
oh what its working now
welp thanks
👍