mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-09 19:20:09 +01:00
Fix lint: use IterableCallbackReturn — wrap forEach body in braces
This commit is contained in:
1 parent
f6468c6d44
commit
82d8eff512
8 files changed
+662
-19
No files matched your search
@@ -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