Given a Go function called /api/[...path].go
, all requests like /api/login
, /api/user
, etc. are routed correctly and handled by the function.
Alas, all routes three levels deep (/api/user/verify
, /api/shizzle/{id}
) instantly return a 404. They do not even show up in the logs.
In that regard, it looks like the platform handles Go functions with a wildcard name [...path]
as if it was named just [path]
.
This looks like a bug to me.
system
(system)
2
There’s another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes.
A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.
Thanks for reporting, I can reproduce this. I’ll share this internally
Thanks @jacobparis, please keep me updated about the status of this issue!