Skip to content

Commit

Permalink
disable gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
zignis committed Apr 8, 2024
1 parent 3fa38d3 commit cceb585
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ use storiny_og::{
};
use tokio::sync::Mutex;
use tonic::{
codec::CompressionEncoding,
metadata::MetadataValue,
transport::Channel,
};
Expand Down Expand Up @@ -152,8 +151,10 @@ fn main() -> io::Result<()> {
Ok(req)
}),
)
.send_compressed(CompressionEncoding::Gzip)
.accept_compressed(CompressionEncoding::Gzip);
// TODO: Uncomment once the server supports gzip.
// .send_compressed(CompressionEncoding::Gzip)
// .accept_compressed(CompressionEncoding::Gzip)
;

let app_state = web::Data::new(AppState {
config: get_app_config().unwrap(),
Expand Down

0 comments on commit cceb585

Please sign in to comment.