mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-15 06:22:50 +00:00
Fix proxy-less deployment
This commit is contained in:
parent
3115ff3436
commit
f00ef59404
2 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@ use base64::decode;
|
|||
|
||||
pub async fn handler(web::Path(url): web::Path<String>) -> Result<HttpResponse> {
|
||||
if cfg!(feature = "proxy") {
|
||||
#[cfg(feature = "proxy")]
|
||||
let media: String;
|
||||
|
||||
#[cfg(not(feature = "proxy"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue