Cannot deploy to Cloudflare Workers
Author: typed-sigtermCreated Sep 25, 2026Updated Sep 25, 2026
Labelspending triage
Describe the bug
Slidev generates _redirects: /* /index.html 200. But Cloudflare rejects:
✘ [ERROR] A request to the Cloudflare API (/accounts/dcdeb2389940baf2b9effe32522c0d37/workers/scripts/itc-2026-starter-talk/versions) failed.
Invalid _redirects configuration:
Line 1: Infinite loop detected in this rule. This would cause a redirect to strip `.html` or `/index` and end up triggering this rule again. [code: 100324]The recommended approach is set assets.not_found_handling = "single-page-application" in wrangler.jsonc.
Minimal reproduction
Steps to reproduce the behavior:
- Clone hello world slides
- Deploy to Cloudflare Workers with GitHub integration
Environment
- Slidev version: 53.0.0
- Browser: N/A
- OS: N/A
Source: slidevjs/slidev