hello everyone, I've just strted messing around with Astro and have been trying to build an api route to be consumed by a page. Reading the doc, I put my articles.ts file inside an api folder inside pages. Using curl I am able to get data back, but using fetch /api/articles throws this error:
Failed to parse URL from /api/articles.
Has this happened to others?