Loop Detected in Deno Deploy
Hi there! I recently tried to deploy my WIP webpage until this point i have only hosted it locally, there everything has worked well so far! However now i get a error when fetching a API route when I use the deno.dev deployed page!
8 Replies
below is my /api/get/modules/
Which I use in one of my routes: /paths/[slug].tsx
What does the error logs in deno deploy say?
You can't make a call to yourself. Instead of doing that, just call the function manually.
The error was the attached image. Not sure if you mean someting else:)
Thansk for responding;) So I shouldn't do a fetch call at all? Should I have a helper function of some kind to retrieve the data, or should i just put the code in the /paths/[slug].tsx?
either one works
thanks a ton, will try them both and see which one i like most then;)
Misread thought the error came from when you deployed it to deno.deploy.
No worries! Thanks anyway:)