Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove fallback middleware also after Vite restart (#18455)
The existing hacky way of removing the middleware has two issues: 1. It removes it AFTER the first request to a non-existing file so the first request for a non-existing resources index.html and subsequent requests return 404 2. It does not work with Vite 4.0.5+ after restart, see vitejs/vite#15589 Co-authored-by: Peter Czuczor <[email protected]>
- Loading branch information