Equivalent to vercel's rewrite configuration for full migration from Vercel to Cloudflare
Can anyone help me with the Cloudflare alternative to Vercel rewrites. Trying to move this project from Vercel to Cloudflare https://github.com/SivaramPg/swapi.info to get away from request limits. I have hundreds of static JSON files, which I would like to server in a beautified URL format without the .json for a psuedo API experience. Looked around and nothing really clicked for me to get the same kind of rewrite experience. If anyone has any useful information or links regarding the same, would highly appreciate you sharing the same!
GitHub
GitHub - SivaramPg/swapi.info: All the Star Wars data you've ever w...
All the Star Wars data you've ever wanted :) Swapi.info is an open-source, FREE, JSON-only, CDN-powered, Wicked-fast, Unrestricted Star Wars data API endpoints provider. - SivaramPg/swapi.info

2 Replies
You can try the rewrite on cloudflare dashboard to rewrite the url before it hits your worker
Cloudflare Docs
URL Rewrite Rules
You can manipulate the URL of a request through different operations, namely rewrites and redirects: