13 lines
325 B
PHP
13 lines
325 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::middleware(['auth', 'verified'])->group(function (): void {
|
|
Route::view('dashboard', 'dashboard')->name('dashboard');
|
|
});
|
|
|
|
require __DIR__.'/settings.php';
|
|
|
|
// SPA catch-all — must be last
|
|
Route::get('/{any}', fn () => view('app'))->where('any', '.*')->name('spa');
|