mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 15:21:22 +02:00
Fix lint: use IterableCallbackReturn — wrap forEach body in braces
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user