mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireCloud.git
synced 2026-06-01 00:19:09 +08:00
* feat: make api token optional for user api routes * config: disable deprecations in production php.ini files dev should probably override this setting, but keeping it as-is for now
18 lines
440 B
PHP
18 lines
440 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::view('/', 'home');
|
|
|
|
Route::middleware([
|
|
'auth:sanctum',
|
|
config('jetstream.auth_session'),
|
|
'verified',
|
|
])->group(function () {
|
|
Route::get('/dashboard', function () {
|
|
// Temporary redirect to the profile page until we have a dashboard to show
|
|
return redirect()->route('profile.show');
|
|
})->name('dashboard');
|
|
});
|
|
|
|
require __DIR__ . '/inc/admin-web.php';
|