File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,13 @@ http {
244
244
add_header Cache-Control "public, max-age=604800" ;
245
245
}
246
246
247
+ location = /bimi.svg {
248
+ include snippets/security-headers.conf;
249
+ # allow https://bimigroup.org/bimi-generator/ to hotlink the image
250
+ add_header Cross-Origin-Resource-Policy "cross-origin" always;
251
+ add_header Cache-Control "public, max-age=604800" ;
252
+ }
253
+
247
254
location = /mask-icon.svg {
248
255
include snippets/security-headers.conf;
249
256
add_header Cross-Origin-Resource-Policy "same-origin" always;
Original file line number Diff line number Diff line change 16
16
xmllint --noout static_tmp/** /* .@ (html| svg| xml)
17
17
eslint static_tmp/** /! (fastboot.min.m| z-worker-pako.| pako_inflate.min.| )js
18
18
stylelint static_tmp/** /* .css
19
- validatornu --Werror --also-check-css --also-check-svg static_tmp/** /* .@ (css| html| svg)
19
+ validatornu --Werror --also-check-css --also-check-svg static_tmp/** /! (bimi) .@ (css| html| svg)
You can’t perform that action at this time.
0 commit comments