2022-10-12 09:57:52 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
2022-10-13 11:41:38 +00:00
|
|
|
use App\Http\Controllers\RequestController;
|
|
|
|
|
2022-10-12 09:57:52 +00:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Web Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2022-10-22 08:16:05 +00:00
|
|
|
Route::middleware([
|
|
|
|
'auth:sanctum',
|
|
|
|
config('jetstream.auth_session'),
|
|
|
|
'verified'
|
|
|
|
])->group(function () {
|
|
|
|
Route::get('/dashboard', function () {
|
|
|
|
return view('dashboard');
|
|
|
|
})->name('dashboard');
|
|
|
|
});
|
|
|
|
|
2022-10-13 11:41:38 +00:00
|
|
|
Route::any('{uri?}',[RequestController::class,'main'])
|
|
|
|
->where('uri','.*');
|