Files
bikeservice/backend/routes/web.php
T
2025-10-08 09:13:22 +02:00

9 lines
206 B
PHP

<?php
use Illuminate\Support\Facades\Route;
// Serve the Vue SPA for all non-API routes
Route::get('/{any}', function () {
return file_get_contents(public_path('index.html'));
})->where('any', '.*');