diff --git a/src/main.rs b/src/main.rs index 823e902..66c83d8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,7 +47,7 @@ async fn main() -> std::io::Result<()> { #[get("/")] async fn redirect_index() -> HttpResponse { - HttpResponse::PermanentRedirect() + HttpResponse::Found() .insert_header((LOCATION, "https://github.com/XAMPPRocky/tokei")) .finish() }