Skip to content

Commit

Permalink
disable compression since it is enabling for all requests
Browse files Browse the repository at this point in the history
  • Loading branch information
prabirshrestha committed Dec 22, 2021
1 parent 0e8aac0 commit 2541667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::{appstate::AppState, handlers, routes};
use trillium::{Handler, State};
use trillium_caching_headers::caching_headers;
use trillium_compression::compression;
// use trillium_compression::compression;
use trillium_conn_id::ConnId;
use trillium_logger::{apache_combined, Logger};
use trillium_router::Router;
Expand All @@ -15,7 +15,7 @@ pub fn app() -> impl Handler {
trillium_conn_id::log_formatter::conn_id,
"-",
)),
compression(),
// compression(),
caching_headers(),
Router::new()
.get("/", routes::posts::get_posts)
Expand Down

0 comments on commit 2541667

Please sign in to comment.