From ba5299cfaa38c25c676bb44f05605defc665c648 Mon Sep 17 00:00:00 2001 From: ismailbennani Date: Thu, 24 Apr 2025 12:34:49 +0200 Subject: [PATCH] fix: set correct content-type for mjs files in nginx configuration --- .github/workflows/configs/facturxdotnet.nginx.conf.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/configs/facturxdotnet.nginx.conf.template b/.github/workflows/configs/facturxdotnet.nginx.conf.template index 15c6f9fd..dde029e3 100644 --- a/.github/workflows/configs/facturxdotnet.nginx.conf.template +++ b/.github/workflows/configs/facturxdotnet.nginx.conf.template @@ -11,6 +11,11 @@ server { error_log /var/log/nginx/{BUILD-NAME}.facturxdotnet.org.error.log; access_log /var/log/nginx/{BUILD-NAME}.facturxdotnet.org.access.log; + include mime.types; + types { + application/javascript js mjs; + } + try_files /maintenance.html $uri; location /editor {