mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
FIX: add CORS header for .woff2
This commit is contained in:
parent
d9606bef9d
commit
f036b23be5
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ server {
|
||||||
root $public;
|
root $public;
|
||||||
add_header ETag "";
|
add_header ETag "";
|
||||||
|
|
||||||
location ~* \.(eot|ttf|woff|ico)$ {
|
location ~* \.(eot|ttf|woff|woff2|ico)$ {
|
||||||
expires 1y;
|
expires 1y;
|
||||||
add_header Cache-Control public;
|
add_header Cache-Control public;
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
|
Loading…
Reference in a new issue