From 508606cdbaa751aa70e7ba393a12f8e40acf5f7a Mon Sep 17 00:00:00 2001 From: Timon Date: Mon, 25 Aug 2025 13:51:59 +0000 Subject: [PATCH] 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 --- desktop/src/cef/scheme_handler.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/src/cef/scheme_handler.rs b/desktop/src/cef/scheme_handler.rs index a3b50754..9c211f62 100644 --- a/desktop/src/cef/scheme_handler.rs +++ b/desktop/src/cef/scheme_handler.rs @@ -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()),