v0.6.0
This commit is contained in:
commit
a2a48d7ce2
148 files changed
+9946
No files matched your search
@@ -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');
|
||||
Reference in new issue
Block a user