mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
Add client middleware to subscribe route
This commit is contained in:
parent
532dfbf4b8
commit
7d36d47ca1
@ -20,7 +20,7 @@ class ClientRoute
|
|||||||
$router->get('/app/getVersion', 'V1\\Client\\AppController@getVersion');
|
$router->get('/app/getVersion', 'V1\\Client\\AppController@getVersion');
|
||||||
});
|
});
|
||||||
if (config('v2board.subscribe_path')) {
|
if (config('v2board.subscribe_path')) {
|
||||||
\Route::get(config('v2board.subscribe_path'), 'V1\\Client\\ClientController@subscribe');
|
\Route::get(config('v2board.subscribe_path'), 'V1\\Client\\ClientController@subscribe')->middleware('client');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user