diff --git a/app.py b/app.py index 1fdff5a6d..a427820b1 100644 --- a/app.py +++ b/app.py @@ -55,6 +55,11 @@ def run_update_script(args=None): from lollms.config import BaseConfig from lollms.helpers import ASCIIColors, trace_exception from lollms.paths import LollmsPaths + + import mimetypes + mimetypes.add_type('application/javascript', '.js') + mimetypes.add_type('text/css', '.css') + from api.db import Discussion from flask import ( Flask,