Remove Compression wrapper

This commit is contained in:
Edward Shen 2021-07-16 12:32:24 -04:00
parent 5e7a82a610
commit 712257429a
Signed by: edward
GPG key ID: 19182661E818369F

View file

@ -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