Fix lint: use IterableCallbackReturn — wrap forEach body in braces

This commit is contained in:
Pontoporeia
2026-07-08 15:14:20 +02:00
parent f6468c6d44
commit 82d8eff512
8 changed files with 662 additions and 19 deletions
+11
View File
@@ -46,6 +46,7 @@ server {
text/css
text/javascript
application/javascript
text/javascript
application/json
application/xml
text/xml
@@ -243,6 +244,16 @@ server {
access_log off;
}
# JavaScript modules (.mjs) — explicit MIME type for ES modules
# Some nginx installs lack the mjs entry in mime.types
location ~* \.mjs$ {
types { }
default_type text/javascript;
expires 30d;
add_header Cache-Control "public, immutable";
access_log off;
}
# PDF files (thesis documents)
location ~* \.pdf$ {
expires 7d;