summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-06-08 17:28:03 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-06-08 17:28:03 +0200
commit13f4aae71ac0a1c9a909079150b95a8f23e84771 (patch)
tree504f16aa6edb3ecdaae4d0b67a30a854453795db
parent7fe69ae8c625ee4d647284c008900b9485b9c8c8 (diff)
downloadIshtar-13f4aae71ac0a1c9a909079150b95a8f23e84771.tar.bz2
Ishtar-13f4aae71ac0a1c9a909079150b95a8f23e84771.zip
🐛 fix mimetype of settings.js
-rw-r--r--changelog/en/changelog_2022-06-15.md3
-rw-r--r--changelog/fr/changelog_2023-01-25.md3
-rw-r--r--ishtar_common/views.py2
3 files changed, 5 insertions, 3 deletions
diff --git a/changelog/en/changelog_2022-06-15.md b/changelog/en/changelog_2022-06-15.md
index 244eeab6f..b79014b9e 100644
--- a/changelog/en/changelog_2022-06-15.md
+++ b/changelog/en/changelog_2022-06-15.md
@@ -1,4 +1,4 @@
-v4.0.48 - 2023-
+v4.0.48 - 2023-06-08
--------------------
### Features/improvements ###
@@ -8,6 +8,7 @@ v4.0.48 - 2023-
### Technical ###
- Default round and round z for each spatial reference system
- Do not put debug log in root path on Debian
+- Fix mimetype of settings.js
v4.0.47 - 2023-06-08
diff --git a/changelog/fr/changelog_2023-01-25.md b/changelog/fr/changelog_2023-01-25.md
index e5279e616..a67861719 100644
--- a/changelog/fr/changelog_2023-01-25.md
+++ b/changelog/fr/changelog_2023-01-25.md
@@ -1,4 +1,4 @@
-v4.0.48 - 2023-
+v4.0.48 - 2023-06-08
--------------------
### Fonctionnalités/améliorations ###
@@ -8,6 +8,7 @@ v4.0.48 - 2023-
### Technique ###
- arrondi et arrondi en z par défaut pour chaque système de référence spatiale
- ne pas mettre le journal de débogage dans le répertoire projet sous Debian
+- correction de type mime pour settings.js
v4.0.47 - 2023-06-08
diff --git a/ishtar_common/views.py b/ishtar_common/views.py
index e584ad8ae..73c516661 100644
--- a/ishtar_common/views.py
+++ b/ishtar_common/views.py
@@ -429,7 +429,7 @@ def activate_simple_shortcut_menu(request):
def settings_js(request):
- return render(request, "ishtar/settings.js")
+ return render(request, "ishtar/settings.js", content_type="text/javascript")
def shortcut_menu(request):