Add sjson and srt to type map.
This commit is contained in:
@@ -35,6 +35,9 @@ def import_static_content(
|
||||
policy = {}
|
||||
|
||||
verbose = True
|
||||
|
||||
mimetypes.add_type('application/octet-stream', '.sjson')
|
||||
mimetypes.add_type('application/octet-stream', '.srt')
|
||||
mimetypes_list = mimetypes.types_map.values()
|
||||
|
||||
for dirname, _, filenames in os.walk(static_dir):
|
||||
|
||||
Reference in New Issue
Block a user