TheOneThatPlaysTooMuch
TheOneThatPlaysTooMuch
Explore posts from servers
DDeno
Created by TheOneThatPlaysTooMuch on 1/29/2025 in #help
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
KPCKevin Powell - Community
Created by TheOneThatPlaysTooMuch on 10/25/2024 in #front-end
Astro components
For example take this hypothetical icon component:
<Icon size= { xSize = 3px, ySize = 3px }></Icon>
<Icon size= { xSize = 3px, ySize = 3px }></Icon>
is there a way to make that work?
4 replies