Initial commit
This commit is contained in:
17
routes/spa.php
Normal file
17
routes/spa.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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)).*$');
|
||||
Reference in New Issue
Block a user