mirror of
https://github.com/spikecodes/libreddit.git
synced 2026-01-21 04:02:36 +01:00
Fix proxy-less deployment
This commit is contained in:
@@ -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"))]
|
||||
|
||||
Reference in New Issue
Block a user