mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 03:09:43 +00:00
FIX: add CORS header for .woff2
This commit is contained in:
parent
d9606bef9d
commit
f036b23be5
@ -80,7 +80,7 @@ server {
|
||||
root $public;
|
||||
add_header ETag "";
|
||||
|
||||
location ~* \.(eot|ttf|woff|ico)$ {
|
||||
location ~* \.(eot|ttf|woff|woff2|ico)$ {
|
||||
expires 1y;
|
||||
add_header Cache-Control public;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
Loading…
x
Reference in New Issue
Block a user