Help() should respond with 301

This commit is contained in:
EntireTwix 2021-07-15 18:30:55 -07:00
parent 74b45a1775
commit 347c9490fd

View file

@ -185,7 +185,7 @@ void api::ImpactBal(req_args) const
//System Usage
void api::Help(req_args) const
{
static thread_local auto resp = HttpResponse::newRedirectionResponse("https://github.com/EntireTwix/CCash/blob/README.md");
static thread_local auto resp = HttpResponse::newRedirectionResponse("https://github.com/EntireTwix/CCash/blob/README.md", k301MovedPermanently);
CACHE_FOREVER;
callback(resp);
}