summaryrefslogtreecommitdiff
path: root/handler/ProjectsHtml.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-09 20:23:29 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-09 20:23:29 +0300
commit34b7980587df61ae084bddd4513a45f6218467cd (patch)
tree66bfa1000fba991d5ebcef32628144b2499879ef /handler/ProjectsHtml.php
parent8ea3807f4bdfd1c538b965fa3dfc5f1e5a9a9854 (diff)
use 302 redirects by default, explicitely specify 301 where really needed
Diffstat (limited to 'handler/ProjectsHtml.php')
-rw-r--r--handler/ProjectsHtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler/ProjectsHtml.php b/handler/ProjectsHtml.php
index beada44..0c1dcbb 100644
--- a/handler/ProjectsHtml.php
+++ b/handler/ProjectsHtml.php
@@ -5,7 +5,7 @@ namespace handler\main;
class ProjectsHtml extends \RequestHandler {
public function get(): \Response {
- return new \RedirectResponse('/projects/');
+ return new \RedirectResponse('/projects/', 301);
}
} \ No newline at end of file