help windows a little

This commit is contained in:
ed 2021-11-06 00:45:42 +01:00
parent 970badce66
commit 15b261c861

View file

@ -100,10 +100,24 @@ IMPLICATIONS = [
MIMES = { MIMES = {
"md": "text/plain; charset=utf-8", "md": "text/plain",
"txt": "text/plain",
"js": "text/javascript",
"opus": "audio/ogg; codecs=opus", "opus": "audio/ogg; codecs=opus",
"webp": "image/webp", "mp3": "audio/mpeg",
"m4a": "audio/mp4",
"jpg": "image/jpeg",
} }
for ln in """text css html csv
application json wasm xml pdf rtf zip
image webp jpeg png gif bmp
audio aac ogg wav
video webm mp4 mpeg
font woff woff2 otf ttf
""".splitlines():
k, vs = ln.split(" ", 1)
for v in vs.strip().split():
MIMES[v] = "{}/{}".format(k, v)
REKOBO_KEY = { REKOBO_KEY = {