Desktop: add missing txt file mime type mapping (#3091)
add missing txt file extension to mime type mapping missing mapping caused license dialog that loads txt file to fail and report no network connection
This commit is contained in:
parent
d9cbf975ff
commit
508606cdba
|
|
@ -87,6 +87,7 @@ impl<'a> GraphiteFrontendResourceHandler<'a> {
|
|||
match ext {
|
||||
"html" => Some("text/html".to_string()),
|
||||
"css" => Some("text/css".to_string()),
|
||||
"txt" => Some("text/plain".to_string()),
|
||||
"wasm" => Some("application/wasm".to_string()),
|
||||
"js" => Some("application/javascript".to_string()),
|
||||
"png" => Some("image/png".to_string()),
|
||||
|
|
|
|||
Loading…
Reference in New Issue