Replace the file-extension check with a regex whitelist of known client routes. Only whitelisted paths serve index.html for React Router — all other paths return a real 404. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace the file-extension check with a regex whitelist of known client routes. Only whitelisted paths serve index.html for React Router — all other paths return a real 404. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>