replaced the wildcard in the font php CORS header

This commit is contained in:
Spencer Flagg 2023-03-03 17:56:30 +01:00
parent 17fa066c98
commit f511c1a31b
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
<?php
// fonts.php
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Origin: https://www.seasteading.org');
header('Content-Type: font/ttf');
echo @file_get_contents('webfonts/fa-light-300.ttf');
?>

View file

@ -1,6 +1,6 @@
<?php
// fonts.php
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Origin: https://www.seasteading.org');
header('Content-Type: font/woff');
echo @file_get_contents('webfonts/fa-light-300.woff');
?>

View file

@ -1,6 +1,6 @@
<?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: font/woff2');
echo @file_get_contents('webfonts/fa-light-300.woff2');