automate CSS/JS cache busting

This commit is contained in:
Daniel Micay
2021-03-26 21:03:34 -04:00
parent f5f23e2a95
commit 342a31c06c
23 changed files with 47 additions and 30 deletions

View File

@@ -67,7 +67,7 @@ http {
map $http_cookie $preload_resources {
"~*__Host-preload=1" "";
default "</grapheneos.css?29>; rel=preload; as=style, </fonts/roboto_latin.woff2?20>; rel=preload; as=font; crossorigin, </fonts/roboto_bold_latin.woff2?20>; rel=preload; as=font; crossorigin, </mask-icon.svg>; rel=preload; as=image";
default "</grapheneos.css>; rel=preload; as=style, </fonts/roboto_latin.woff2?20>; rel=preload; as=font; crossorigin, </fonts/roboto_bold_latin.woff2?20>; rel=preload; as=font; crossorigin, </mask-icon.svg>; rel=preload; as=image";
}
server {