This commit is contained in:
deploy-bot committed 2026-12-04 11:06:52 +00:00
commit a2a48d7ce2
148 files changed
+9946

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
<?php
use Illuminate\Support\Facades\Route;
use IriksIT\Manager\Http\Controllers\AssetController;
use IriksIT\Manager\Http\Controllers\LoginController;
use IriksIT\Manager\Http\Controllers\MascotController;
// Outside `auth`: the login of the manager (the page itself is the shell, the answer is JSON) and its built files.
Route::get('/_assets/{file}', AssetController::class)->name('assets')->where('file', '[a-z.]+');
Route::get('/_assets/mascot/{name}', MascotController::class)->name('mascot')->where('name', '[a-z]+');
Route::get('/login', fn () => abort(404))->name('login'); // the shell answers browsers before this runs
Route::post('/login', [LoginController::class, 'store'])->name('login.store')->middleware('throttle:manager-login');