fix(server) typo

Signed-off-by: Daniel Thompson-Yvetot <denjell@quasar.dev>
This commit is contained in:
Daniel Thompson-Yvetot 2019-08-24 19:37:58 +02:00
parent 9500eebd91
commit 58af6c1abb
No known key found for this signature in database
GPG Key ID: A88F800A19E176E6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ pub fn asset_response(path: &str) -> Response<std::io::Cursor<Vec<u8>>> {
} else if path.ends_with(".html") {
header = Header::from_bytes(&b"Content-Type"[..], &b"text/html"[..]).unwrap();
} else {
header = Header::from_bytes(&b"Content-Type"[..], &b"appication/octet-stream"[..]).unwrap();
header = Header::from_bytes(&b"Content-Type"[..], &b"application/octet-stream"[..]).unwrap();
}
response.add_header(header);