18 lines
548 B
PHP
18 lines
548 B
PHP
|
<?php
|
||
|
|
||
|
use App\Http\Controllers\SpaController;
|
||
|
use Illuminate\Support\Facades\Route;
|
||
|
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| SPA Routes
|
||
|
|--------------------------------------------------------------------------
|
||
|
|
|
||
|
| Here is where you can register SPA routes for your frontend. These
|
||
|
| routes are loaded by the RouteServiceProvider within a group which
|
||
|
| is assigned the "spa" middleware group.
|
||
|
|
|
||
|
*/
|
||
|
|
||
|
Route::get('{path}', SpaController::class)->where('path', '^(?!(api|stats|mailcoach|vapor|sitemap)).*$');
|