Login redirect 307 (temporary)

This commit is contained in:
Juan Pablo Vial
2024-04-03 13:26:12 -03:00
parent 8710c8a111
commit 905e8263bc
4 changed files with 4 additions and 22 deletions

View File

@ -22,7 +22,7 @@ class Errors
} catch (Error $error) {
$this->logger->error($error);
}
$response = $this->responseFactory->createResponse(600, 'Internal Server Error');
$response = $this->responseFactory->createResponse(500, 'Internal Server Error');
if (str_contains($request->getUri()->getPath(), '/api')) {
return $response;
}