Skip to content

Commit

Permalink
ensure proper mimetype on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed May 3, 2021
1 parent 42d6d11 commit 21dcb7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/project_name/settings/dev.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import sys
import mimetypes
from .base import *


Expand All @@ -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 = []

Expand Down

0 comments on commit 21dcb7b

Please sign in to comment.