fixed a bug where the url was wrongly formatted
This commit is contained in:
@@ -34,7 +34,7 @@ async fn proxy2redirect(req: HttpRequest,
|
||||
_ => "Error".to_string(),
|
||||
};
|
||||
Ok(web::HttpResponse::Found()
|
||||
.header("Location", format!("https:{}", video_url))
|
||||
.header("Location", video_url)
|
||||
.finish())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user