openstamanager/routes/legacy.php

11 lines
249 B
PHP

<?php
use App\Http\Controllers\LegacyController;
use Illuminate\Support\Facades\Route;
Route::any('/', [LegacyController::class, 'index']);
Route::any('/{path}', [LegacyController::class, 'index'])
->name('legacy')
->where('path', '.*');