mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
middleware Locale use as global
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::group(['middleware' => ['auth.nexus:passkey', 'locale']], function () {
|
||||
Route::group(['middleware' => ['auth.nexus:passkey']], function () {
|
||||
Route::post("pieces-hash", [\App\Http\Controllers\TorrentController::class, "queryByPiecesHash"])->name("torrent.pieces_hash.query");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user