From 3f7ecb23dfda6d4bde31d69fdafbaa3ad6632ea5 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Thu, 15 Dec 2022 11:29:54 +0800 Subject: [PATCH] update: default secure path --- app/Http/Routes/AdminRoute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Routes/AdminRoute.php b/app/Http/Routes/AdminRoute.php index 6d541477..ab3ec7e4 100644 --- a/app/Http/Routes/AdminRoute.php +++ b/app/Http/Routes/AdminRoute.php @@ -8,7 +8,7 @@ class AdminRoute public function map(Registrar $router) { $router->group([ - 'prefix' => config('v2board.secure_path', config('v2board.frontend_admin_path', 'admin')), + 'prefix' => config('v2board.secure_path', config('v2board.frontend_admin_path', hash('crc32b', config('app.key')))), 'middleware' => 'admin' ], function ($router) { // Config