mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-09 14:31:52 -07:00
Revert "Compress the web frontend using brotli"
This reverts commit 00e4cb7a75.
This commit is contained in:
committed by
Will Greenberg
parent
a3e7d0ef43
commit
da4e723eff
@@ -112,9 +112,9 @@ pub async fn serve_static(
|
||||
"index.html" => (
|
||||
[
|
||||
(header::CONTENT_TYPE, HeaderValue::from_static("text/html")),
|
||||
(header::CONTENT_ENCODING, HeaderValue::from_static("br")),
|
||||
(header::CONTENT_ENCODING, HeaderValue::from_static("gzip")),
|
||||
],
|
||||
include_bytes!("../web/build/index.html.br"),
|
||||
include_bytes!("../web/build/index.html.gz"),
|
||||
)
|
||||
.into_response(),
|
||||
path => {
|
||||
|
||||
Reference in New Issue
Block a user