0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 22:18:54 +02:00

ircd::resource: Use 308 instead of 301 for redirect.

This commit is contained in:
Jason Volk 2019-02-19 14:43:21 -08:00
parent b8ea9fdad7
commit 74c5a58273

View file

@ -1244,7 +1244,7 @@ ircd::resource::redirect::permanent::handler(client &client,
return response
{
client, {}, {}, http::MOVED_PERMANENTLY,
client, {}, {}, http::PERMANENT_REDIRECT,
{
http::header { "Location", location }
}