Fix fucking MIME types of javascript files.

This commit is contained in:
Florian THIERRY
2024-09-19 22:13:10 +02:00
parent 38c11e2d9f
commit 23025e3606
3 changed files with 8 additions and 3 deletions

View File

@@ -29,7 +29,6 @@ services:
container_name: "codiki-frontend" container_name: "codiki-frontend"
ports: ports:
- "50012:80" - "50012:80"
- "50013:443"
networks: networks:
- "codiki-network" - "codiki-network"

View File

@@ -9,6 +9,12 @@ http {
~*^en en; ~*^en en;
} }
types {
module js;
}
include /etc/nginx/mime.types;
server { server {
listen 80; listen 80;
server_name codiki.org; server_name codiki.org;

View File

@@ -7,8 +7,8 @@
"start-en": "ng serve --port 4201 --configuration=en --proxy-config proxy.conf.json", "start-en": "ng serve --port 4201 --configuration=en --proxy-config proxy.conf.json",
"start-fr": "ng serve --port 4201 --configuration=fr --proxy-config proxy.conf.json", "start-fr": "ng serve --port 4201 --configuration=fr --proxy-config proxy.conf.json",
"build": "ng build", "build": "ng build",
"build-prod-en": "ng build --configuration=production-en --base-href", "build-prod-en": "ng build --configuration=production-en --base-href /en/",
"build-prod-fr": "ng build --configuration=production-fr --base-href", "build-prod-fr": "ng build --configuration=production-fr --base-href /fr/",
"watch": "ng build --watch --configuration development", "watch": "ng build --watch --configuration development",
"test": "ng test", "test": "ng test",
"i18n": "ng extract-i18n --output-path src/locale --format=json" "i18n": "ng extract-i18n --output-path src/locale --format=json"