There has been a recent improvement in the routes generation in astro, here is the PR: https://githu

There has been a recent improvement in the routes generation in astro, here is the PR: https://github.com/withastro/astro/pull/7846
  • you could try updating to that, or writing routes.json manually (not the best experience, I agree): you can remove everything from exclude, and only include routes or folders that need SSR, like /api/*
GitHub
Changes
Fixes #6516
The cloudflare integration tends to create large _routes.json files, which quickly hits the limit of 100 combined include/exclude entries that Cloudflare imposes even for small ...
Was this page helpful?