mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: default secure path
This commit is contained in:
parent
c2f43a5258
commit
3f7ecb23df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user