From 13f4aae71ac0a1c9a909079150b95a8f23e84771 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 8 Jun 2023 17:28:03 +0200 Subject: 🐛 fix mimetype of settings.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog/en/changelog_2022-06-15.md | 3 ++- changelog/fr/changelog_2023-01-25.md | 3 ++- ishtar_common/views.py | 2 +- 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): -- cgit v1.2.3