fix "MIME type ('text/plain') is not executable" on windows

This commit is contained in:
i7-8700 2021-10-27 11:33:30 +08:00
parent 9e4aeac16d
commit 857584a929

View File

@ -66,6 +66,8 @@ mimetypes.add_type('application/mp4', '.m4a')
mimetypes.add_type('application/mp4', '.m4b') mimetypes.add_type('application/mp4', '.m4b')
mimetypes.add_type('application/ogg', '.ogg') mimetypes.add_type('application/ogg', '.ogg')
mimetypes.add_type('application/ogg', '.oga') mimetypes.add_type('application/ogg', '.oga')
mimetypes.add_type('text/css', '.css')
mimetypes.add_type('text/javascript; charset=UTF-8', '.js')
app = Flask(__name__) app = Flask(__name__)
app.config.update( app.config.update(