update: default secure path

This commit is contained in:
tokumeikoi 2022-12-15 11:29:54 +08:00
parent c2f43a5258
commit 3f7ecb23df

View File

@ -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