Mike
Mike
NNuxt
Created by Mike on 5/6/2025 in #❓・help
Vercel issue with server api function/route
Ok, so I found a workaround. I could use "/server/routes" and create another api folder there. Like "server/routes/my-api/" and I could fetch it like "/my-api/something".. that seems to work. 👍
8 replies
NNuxt
Created by Mike on 5/6/2025 in #❓・help
Vercel issue with server api function/route
I think I know what the issue is. Is it possible to re-configure how the "server/api/something" is accessed? Like: instead of fetching "/api/something" to be replaced with eg. "/my-api/something" Is this possible?
8 replies
NNuxt
Created by Mike on 5/6/2025 in #❓・help
Vercel issue with server api function/route
I might add that I'm getting a 404 error "Page not found" for clarity. The path I'm using to fetch is something like following "/api/something"
8 replies