💾 prevent env.js from being cached

ref #108
This commit is contained in:
Philipp Dormann 2021-04-01 19:35:27 +02:00
parent 93187099d3
commit c5d155396a

View File

@ -14,6 +14,10 @@ http {
internal; internal;
add_header Cache-Control 'no-store'; add_header Cache-Control 'no-store';
} }
location = /env.js {
internal;
add_header Cache-Control 'no-store';
}
location / { location / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
} }