[Libreoffice-commits] online.git: loolwsd/FileServer.hpp
Henry Castro
hcvcastro at gmail.com
Wed May 4 20:17:43 UTC 2016
loolwsd/FileServer.hpp | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit ae80052e805d304cbef6e076cfad9740c9c1f599
Author: Henry Castro <hcvcastro at gmail.com>
Date: Wed May 4 16:15:25 2016 -0400
loolwsd: add mime type svg
diff --git a/loolwsd/FileServer.hpp b/loolwsd/FileServer.hpp
index b7faf4a..c5f57f9 100644
--- a/loolwsd/FileServer.hpp
+++ b/loolwsd/FileServer.hpp
@@ -162,6 +162,8 @@ public:
mimeType = "text/css";
else if (fileType == "html")
mimeType = "text/html";
+ else if (fileType == "svg")
+ mimeType = "image/svg+xml";
else
mimeType = "text/plain";
More information about the Libreoffice-commits
mailing list