diff options
| author | Fuwn <[email protected]> | 2024-05-23 00:52:39 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-05-23 00:52:39 +0000 |
| commit | 6e0de5ac95eaf31dfb9da02d94cef863577a730f (patch) | |
| tree | bab89ea1dcbd3a1cc50900c51298631820dd9a83 /src | |
| parent | feat(september): bump crate to 0.2.15 (diff) | |
| download | september-6e0de5ac95eaf31dfb9da02d94cef863577a730f.tar.xz september-6e0de5ac95eaf31dfb9da02d94cef863577a730f.zip | |
fix(response): fallback on no content
Diffstat (limited to 'src')
| -rw-r--r-- | src/response.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/response.rs b/src/response.rs index a3b1ae5..2cf0005 100644 --- a/src/response.rs +++ b/src/response.rs @@ -75,7 +75,7 @@ For example: to proxy "gemini://fuwn.me/uptime", visit "/proxy/fuwn.me/uptime".< } }; - if response.content().is_some() { + if response.content().is_none() { response = match germ::request::request(&match url_from_path( req.path().trim_end_matches('/'), true, |