## Summary - Add `WithoutSsr` middleware to disable SSR per route - Extract API endpoints to `routes/api.php` for better organization - Apply `WithoutSsr` to dashboard, accounts, and transactions routes ## Changes ### New Files - `app/Http/Middleware/WithoutSsr.php` - Middleware that disables SSR for specific routes - `routes/api.php` - Dedicated file for API endpoints ### Modified Files - `bootstrap/app.php` - Register API routes - `routes/web.php` - Remove API routes, apply WithoutSsr middleware ## Route Structure - **routes/web.php** - Page routes only (Inertia pages) - **routes/api.php** - All `/api/*` endpoints - **routes/settings.php** - Settings routes (existing) |
||
|---|---|---|
| .. | ||
| Actions | ||
| Console/Commands | ||
| Enums | ||
| Http | ||
| Models | ||
| Policies | ||
| Providers | ||
| Services | ||