add integrity metadata to preload header
This commit is contained in:
@@ -74,7 +74,7 @@ http {
|
||||
|
||||
map $http_cookie $preload_resources {
|
||||
"~*__Host-preload=1" "";
|
||||
default "<{{path|/main.css}}>; rel=preload; as=style, </fonts/roboto-v29-regular-latin.woff2>; rel=preload; as=font; crossorigin, </fonts/roboto-v29-bold-latin.woff2>; rel=preload; as=font; crossorigin, <{{path|/mask-icon.svg}}>; rel=preload; as=image";
|
||||
default "<{{path|/main.css}}>; rel=preload; as=style; integrity={{integrity|/main.css}}, </fonts/roboto-v29-regular-latin.woff2>; rel=preload; as=font; crossorigin, </fonts/roboto-v29-bold-latin.woff2>; rel=preload; as=font; crossorigin, <{{path|/mask-icon.svg}}>; rel=preload; as=image";
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
Reference in New Issue
Block a user