mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-23 15:40:33 -06:00
21 lines
450 B
PHP
21 lines
450 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use Shlinkio\Shlink\Rest\ErrorHandler\JsonErrorResponseGenerator;
|
|
|
|
return [
|
|
|
|
'error_handler' => [
|
|
'plugins' => [
|
|
'invokables' => [
|
|
'application/json' => JsonErrorResponseGenerator::class,
|
|
],
|
|
'aliases' => [
|
|
'application/x-json' => 'application/json',
|
|
'text/json' => 'application/json',
|
|
],
|
|
],
|
|
],
|
|
|
|
];
|