mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-24 16:10:38 -06:00
19 lines
404 B
PHP
19 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',
|
|
],
|
|
],
|
|
],
|
|
|
|
];
|