replaced the wildcard in the font php CORS header
This commit is contained in:
parent
17fa066c98
commit
f511c1a31b
3 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
// fonts.php
|
// fonts.php
|
||||||
header('Access-Control-Allow-Origin: *');
|
header('Access-Control-Allow-Origin: https://www.seasteading.org');
|
||||||
header('Content-Type: font/ttf');
|
header('Content-Type: font/ttf');
|
||||||
echo @file_get_contents('webfonts/fa-light-300.ttf');
|
echo @file_get_contents('webfonts/fa-light-300.ttf');
|
||||||
?>
|
?>
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
// fonts.php
|
// fonts.php
|
||||||
header('Access-Control-Allow-Origin: *');
|
header('Access-Control-Allow-Origin: https://www.seasteading.org');
|
||||||
header('Content-Type: font/woff');
|
header('Content-Type: font/woff');
|
||||||
echo @file_get_contents('webfonts/fa-light-300.woff');
|
echo @file_get_contents('webfonts/fa-light-300.woff');
|
||||||
?>
|
?>
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
// fonts.php
|
// fonts.php
|
||||||
header('Access-Control-Allow-Origin: *');
|
header('Access-Control-Allow-Origin: https://www.seasteading.org');
|
||||||
//header('Content-Type: application/font-woff2');
|
//header('Content-Type: application/font-woff2');
|
||||||
header('Content-Type: font/woff2');
|
header('Content-Type: font/woff2');
|
||||||
echo @file_get_contents('webfonts/fa-light-300.woff2');
|
echo @file_get_contents('webfonts/fa-light-300.woff2');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue