mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-28 00:38:46 +03:00
18 lines
404 B
PHP
18 lines
404 B
PHP
<?php
|
|
use Shlinkio\Shlink\Rest\ErrorHandler\JsonErrorHandler;
|
|
|
|
return [
|
|
|
|
'error_handler' => [
|
|
'plugins' => [
|
|
'invokables' => [
|
|
'application/json' => JsonErrorHandler::class,
|
|
],
|
|
'aliases' => [
|
|
'application/x-json' => 'application/json',
|
|
'text/json' => 'application/json',
|
|
],
|
|
],
|
|
],
|
|
|
|
];
|