diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-07-09 20:23:29 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-07-09 20:23:29 +0300 |
commit | 34b7980587df61ae084bddd4513a45f6218467cd (patch) | |
tree | 66bfa1000fba991d5ebcef32628144b2499879ef /handler/Auto.php | |
parent | 8ea3807f4bdfd1c538b965fa3dfc5f1e5a9a9854 (diff) |
use 302 redirects by default, explicitely specify 301 where really needed
Diffstat (limited to 'handler/Auto.php')
-rw-r--r-- | handler/Auto.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handler/Auto.php b/handler/Auto.php index c0d4c13..9903993 100644 --- a/handler/Auto.php +++ b/handler/Auto.php @@ -17,7 +17,7 @@ class Auto extends RequestHandler { public function get(): Response { list($name) = $this->input('name'); if ($name == 'coreboot-mba51-flashing') - return new RedirectResponse('/coreboot-mba52-flashing/'); + return new RedirectResponse('/coreboot-mba52-flashing/', 301); if (is_numeric($name)) { $post = posts::get((int)$name); |