app: Add mimetype for .cfg files

Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2020-07-27 08:35:39 -04:00 committed by Eric Callahan
parent ad127ce2a9
commit c14221a7c7
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ class MoonrakerApp:
mimetypes.add_type('text/plain', '.log')
mimetypes.add_type('text/plain', '.gcode')
mimetypes.add_type('text/plain', '.cfg')
# Set up HTTP only requests
self.mutable_router = MutableRouter(self)