Remove Compression wrapper
This commit is contained in:
parent
5e7a82a610
commit
712257429a
1 changed files with 0 additions and 1 deletions
|
@ -181,7 +181,6 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
|||
// Start HTTPS server
|
||||
let server = HttpServer::new(move || {
|
||||
App::new()
|
||||
.wrap(actix_web::middleware::Compress::default())
|
||||
.wrap_fn(|req, srv| {
|
||||
if let Some(reader) = GEOIP_DATABASE.get() {
|
||||
let maybe_country = req
|
||||
|
|
Loading…
Reference in a new issue