mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Prevented routable middleware to dispatch 404 page
This commit is contained in:
parent
4ae08c02ec
commit
3bb899bced
@ -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…
Reference in New Issue
Block a user