Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Add trailing slash to admin redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Nov 11, 2019
1 parent 4a0ccf6 commit 2bcd474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endpoints/Home.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Home extends Route
{
public function __invoke(Request $request, Response $response)
{
$response = $response->withRedirect('./admin');
$response = $response->withRedirect('./admin/');
return $this->responseWithData($request, $response, []);
}
}

0 comments on commit 2bcd474

Please sign in to comment.