rust
rust copied to clipboard
Tutorial leads to "NOT_FOUND" deployment
I'm new to Vercel, and wanted to use it in Rust. However, something in your README.md tutorial must be wrong or missing as this is what happens after following it and deploying it:
You also never spoke about these:
I notice you never spoke about a package.json too, even though it's in your examples. I copy pasted it, and it made no difference. Also, is this project dead? I don't see many updates.
I use rewrite to route the traffic, see https://github.com/Zxilly/OnedriveHostsGenerator/blob/master/vercel.json
Hey, not a dead project at all. It's just not under active development at the moment, and is a community effort.
The Build & Development Settings are not needed for the Rust Runtime.
Could you share a link to your deployment, so I can investigate? I suspect it could be the rewrites, but I'm not sure.
Thanks 🙏
@test3211234 This is because by default the router uses directory structure based routing so your function is at localhost:3000/api/handler
.