feat: xxbb
This commit is contained in:
+6
-1
@@ -79,7 +79,12 @@ Route::prefix('admin')->name('admin.')->middleware('panel.host:admin')->group(fu
|
||||
|
||||
Route::middleware('admin.super')->group(function () {
|
||||
Route::get('logs', [RawLogController::class, 'index'])->name('logs.index');
|
||||
Route::get('logs/{file}', [RawLogController::class, 'show'])->name('logs.show');
|
||||
Route::get('logs/{kind}/{file}', [RawLogController::class, 'show'])
|
||||
->where(['kind' => 'c2|xxbb', 'file' => '\d{8}\.log'])
|
||||
->name('logs.show');
|
||||
Route::get('logs/{file}', function (string $file) {
|
||||
return redirect()->route('admin.logs.show', ['kind' => 'c2', 'file' => $file]);
|
||||
})->where('file', '\d{8}\.log')->name('logs.show.legacy');
|
||||
|
||||
Route::prefix('system')->name('system.')->group(function () {
|
||||
Route::get('settings', [SystemSettingsController::class, 'index'])->name('settings.index');
|
||||
|
||||
Reference in New Issue
Block a user