diff --git a/tileserver.php b/tileserver.php index a282b00..7b3b57d 100644 --- a/tileserver.php +++ b/tileserver.php @@ -417,13 +417,11 @@ public function getCleanTile($scale = 1, $format = 'png') { echo '{"message":"Tile does not exist"}'; break; case 'webp': - default: header('Access-Control-Allow-Origin: *'); header('Content-type: image/webp'); echo base64_decode('UklGRhIAAABXRUJQVlA4TAYAAAAvQWxvAGs='); break; case 'jpg': - default: header('Access-Control-Allow-Origin: *'); header('Content-type: image/jpg'); echo base64_decode('/9j/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/yQALCAABAAEBAREA/8wABgAQEAX/2gAIAQEAAD8A0s8g/9k=');