mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix(server) typo
Signed-off-by: Daniel Thompson-Yvetot <denjell@quasar.dev>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user