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
Hello, I’m Allie!
The generated Worker only handles cron events, which means that navigating to it shouldn't do anything.
potato
potatoOP15mo ago
ooh I get it, thanks. It was my misunderstanding. i should use the /scheduled endpoint right? with scheduled flag
potato
potatoOP15mo ago
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
potato
potatoOP15mo ago
Now i got a longer error 😭 oh what its working now welp thanks 👍
Want results from more Discord servers?
Add your server