From fd762e71de22b4066ac9d896dfd4ceca73c971d7 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sun, 4 Mar 2018 22:32:26 -0800 Subject: [PATCH] Fix cherrypy sending wrong Content-Type header for svg --- plexpy/webstart.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plexpy/webstart.py b/plexpy/webstart.py index 7a427037..17525bdd 100644 --- a/plexpy/webstart.py +++ b/plexpy/webstart.py @@ -122,6 +122,7 @@ def initialize(options): '/images': { 'tools.staticdir.on': True, 'tools.staticdir.dir': "interfaces/default/images", + 'tools.staticdir.content_types': {'svg': 'image/svg+xml'}, 'tools.caching.on': True, 'tools.caching.force': True, 'tools.caching.delay': 0,