summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibWeb/Loader/Resource.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibWeb/Loader/Resource.cpp b/Libraries/LibWeb/Loader/Resource.cpp
index 905339c5e9..780c3b4113 100644
--- a/Libraries/LibWeb/Loader/Resource.cpp
+++ b/Libraries/LibWeb/Loader/Resource.cpp
@@ -83,6 +83,8 @@ static String guess_mime_type_based_on_filename(const URL& url)
return "image/x‑portable‑bitmap";
if (url.path().ends_with(".png"))
return "image/png";
+ if (url.path().ends_with(".ppm"))
+ return "image/x‑portable‑pixmap";
if (url.path().ends_with(".gif"))
return "image/gif";
if (url.path().ends_with(".bmp"))