This commit is contained in:
2026-01-31 15:25:16 +01:00
parent 8f91f480eb
commit de7a0a85f6
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -3,5 +3,9 @@
use Illuminate\Support\Facades\Route;
Route::get('/{any}', function () {
if (config('app.frontend.dev')) {
return redirect(config('app.frontend.dev_url'));
}
return file_get_contents(public_path('index.html'));
})->where('any', '.*');