added favicon
All checks were successful
Restart Website Service / restart_service (push) Successful in 27s
All checks were successful
Restart Website Service / restart_service (push) Successful in 27s
This commit is contained in:
parent
281315ecb3
commit
55e61bf421
BIN
public/favicon.ico
Normal file
BIN
public/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
|
@ -94,6 +94,7 @@ fn get_mime_type<'a>(extension: Option<&'a OsStr>) -> String {
|
||||||
Some("css") => "text/css".to_string(),
|
Some("css") => "text/css".to_string(),
|
||||||
Some("html") => "text/html".to_string(),
|
Some("html") => "text/html".to_string(),
|
||||||
Some("png") => "image/png".to_string(),
|
Some("png") => "image/png".to_string(),
|
||||||
|
Some("ico") => "image/vnd.microsoft.icon".to_string(),
|
||||||
_ => "text/text".to_string(),
|
_ => "text/text".to_string(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue