mirror of
https://github.com/v2board/v2board.git
synced 2025-01-26 16:09:09 +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)
|
public function map(Registrar $router)
|
||||||
{
|
{
|
||||||
$router->group([
|
$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'
|
'middleware' => 'admin'
|
||||||
], function ($router) {
|
], function ($router) {
|
||||||
// Config
|
// Config
|
||||||
|
Loading…
Reference in New Issue
Block a user