testing found

This commit is contained in:
Simon
2025-11-29 20:14:59 +00:00
parent 39e38249b7
commit 2de6a7d42b

View File

@@ -51,7 +51,7 @@ async fn noodlemagazine(req: HttpRequest,
url if url != "" => url,
_ => "Error".to_string(),
};
Ok(web::HttpResponse::PermanentRedirect()
Ok(web::HttpResponse::Found()
.header("Location", format!("{}", video_url))
.finish())
}