mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 13:38:20 +01:00
Make sure we only return a response from the api if the user understands it
This commit is contained in:
parent
c52f0ada07
commit
ddf64cc653
@ -25,6 +25,7 @@ class ApiRoutes
|
||||
$router->group([
|
||||
'namespace' => 'Api',
|
||||
'prefix' => 'api/v1',
|
||||
'middleware' => 'accept:application/json'
|
||||
], function ($router) {
|
||||
// General
|
||||
$router->get('ping', 'GeneralController@ping');
|
||||
|
Loading…
x
Reference in New Issue
Block a user