[FIX] Uge session of debugging and code coverage.
This commit is contained in:
@@ -10,15 +10,15 @@ server {
|
||||
gzip_min_length 1024;
|
||||
gzip_types text/plain text/css text/xml text/javascript application/javascript application/xml+rss application/json;
|
||||
|
||||
# Cache static assets (including .mjs)
|
||||
location ~* \.(js|mjs|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
|
||||
# PDF.js worker: serve the tracked .mjs with a JS MIME type
|
||||
location = /pdf.worker.min.mjs {
|
||||
default_type application/javascript;
|
||||
expires 1y;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
# Force correct MIME type for .mjs files
|
||||
location ~* \.mjs$ {
|
||||
add_header Content-Type application/javascript;
|
||||
# Cache static assets
|
||||
location ~* \.(js|mjs|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
|
||||
expires 1y;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user