mirror of
https://github.com/vale981/ray
synced 2025-03-08 19:41:38 -05:00
9 lines
241 B
Python
9 lines
241 B
Python
![]() |
import mimetypes
|
||
|
import ray.new_dashboard.modules.log.log_consts as log_consts
|
||
|
|
||
|
|
||
|
def register_mimetypes():
|
||
|
for _type, extensions in log_consts.MIME_TYPES.items():
|
||
|
for ext in extensions:
|
||
|
mimetypes.add_type(_type, ext)
|