diff --git a/src/proxy.rs b/src/proxy.rs index b2e1292..8ba015f 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -5,6 +5,7 @@ use base64::decode; pub async fn handler(web::Path(url): web::Path) -> Result { if cfg!(feature = "proxy") { + #[cfg(feature = "proxy")] let media: String; #[cfg(not(feature = "proxy"))] diff --git a/templates/base.html b/templates/base.html index 804ec71..d282ec8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,7 +4,8 @@ {% block head %} {% block title %}Libreddit{% endblock %} - +