Private GIT

Skip to content
Snippets Groups Projects
Commit 30022e4c authored by miigotu's avatar miigotu
Browse files

Add static file handler for fonts @OmgImAlexis this fixes mimetype for glyphicons

parent ff33d294
No related branches found
No related tags found
No related merge requests found
......@@ -124,9 +124,14 @@ class SRWebServer(threading.Thread):
(r'%s/js/(.*)' % self.options['web_root'], StaticFileHandler,
{"path": ek(os.path.join, self.options['data_root'], 'js')}),
# fonts
(r'%s/fonts/(.*)' % self.options['web_root'], StaticFileHandler,
{"path": ek(os.path.join, self.options['data_root'], 'fonts')}),
# videos
] + [(r'%s/videos/(.*)' % self.options['web_root'], StaticFileHandler,
{"path": self.video_root})])
(r'%s/videos/(.*)' % self.options['web_root'], StaticFileHandler,
{"path": self.video_root})
])
def run(self):
if self.enable_https:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment