diff --git a/db/project_name/settings/dev.py b/db/project_name/settings/dev.py index d676b77..f5f6c30 100644 --- a/db/project_name/settings/dev.py +++ b/db/project_name/settings/dev.py @@ -1,5 +1,6 @@ import os import sys +import mimetypes from .base import * @@ -21,6 +22,7 @@ {% else %} WQ_CONFIG_FILE = os.path.join(BASE_DIR, 'app', 'js', 'data', 'config.js') {% endif %} + mimetypes.add_type("application/javascript", ".js", True) ALLOWED_HOSTS = []