Recognise .html extension
This commit is contained in:
parent
836b21824d
commit
e278d5d600
1 changed files with 1 additions and 1 deletions
2
neomi.py
2
neomi.py
|
@ -352,7 +352,7 @@ def read_infofile(file_path):
|
||||||
infofiles_cached.add(file_path)
|
infofiles_cached.add(file_path)
|
||||||
|
|
||||||
# TODO: Read from file
|
# TODO: Read from file
|
||||||
extension_mimetypes = {'.txt': 'text/plain', '.text': 'text/plain', '.log': 'text/plain'}
|
extension_mimetypes = {'.txt': 'text/plain', '.text': 'text/plain', '.log': 'text/plain', '.html': 'text/html'}
|
||||||
|
|
||||||
mimetype_cache = {}
|
mimetype_cache = {}
|
||||||
mimetype_cache_lock = threading.Lock()
|
mimetype_cache_lock = threading.Lock()
|
||||||
|
|
Loading…
Reference in a new issue