mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
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:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user