TheOneThatPlaysTooMuch
Problem with my api route
Hi! I actually found out why it doesn't work but I still don't know why its like this: when I fetch a full url like "https://google.com" its fine, but when I fetch a relative url like "/api/login" called from a server component, it says it is an invalid url, but when I call it from an island component, its fine.
4 replies