mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-14 04:00:57 +03:00
Prevented routable middleware to dispatch 404 page
This commit is contained in:
parent
4ae08c02ec
commit
3bb899bced
2 changed files with 1 additions and 1 deletions
0
bin/cli
Normal file → Executable file
0
bin/cli
Normal file → Executable file
|
@ -85,7 +85,7 @@ class GenerateShortcodeMiddleware implements MiddlewareInterface
|
|||
} catch (\Exception $e) {
|
||||
$response->getBody()->write($e);
|
||||
} finally {
|
||||
return is_callable($out) ? $out($request, $response) : $response;
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue