testing found
This commit is contained in:
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user