Skip to content

Commit fe83269

Browse files
committed
fix: add missing content-encoding header
1 parent f6fc6ef commit fe83269

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ async fn main() {
128128
.allow_methods([Method::GET, Method::POST, Method::OPTIONS])
129129
.allow_headers([
130130
HeaderName::from_static("content-type"),
131+
HeaderName::from_static("content-encoding"),
131132
HeaderName::from_static("authorization"),
132133
])
133134
.allow_credentials(true);

0 commit comments

Comments
 (0)