loolwsd/FileServer.hpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit ae80052e805d304cbef6e076cfad9740c9c1f599
Author: Henry Castro <hcvcas...@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";
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to