TheOneThatPlaysTooMuchT
Denoβ€’12mo agoβ€’
3 replies
TheOneThatPlaysTooMuch

Problem with my api route

I created a dummy login api route under 'routes/api/login.ts' and when I call fetch on the url like so:
fetch("/api/login")
it fails because that's an 'invalid route'
Was this page helpful?