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:
Timon 2025-08-25 13:51:59 +00:00 committed by GitHub
parent d9cbf975ff
commit 508606cdba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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()),