All CORS for woff and woff2 files in WP.
This commit is contained in:
parent
7c950e66d5
commit
195bd49d53
1 changed files with 4 additions and 0 deletions
|
@ -84,4 +84,8 @@ require="__package/nginx" __nginx "$nginx_domain" \
|
|||
expires max;
|
||||
log_not_found off;
|
||||
}
|
||||
|
||||
location ~* \.(woff|woff2)$ {
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
EOF
|
||||
|
|
Reference in a new issue