Skip to content

Commit af06d31

Browse files
committed
remove duplicate CORS header
fixes osm-search#427
1 parent d01d0c1 commit af06d31

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/lib.php

-1
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,6 @@ function getResultDiameter($aResult)
592592

593593
function javascript_renderData($xVal, $iOptions = 0)
594594
{
595-
header("Access-Control-Allow-Origin: *");
596595
if (defined('PHP_VERSION_ID') && PHP_VERSION_ID > 50400)
597596
$iOptions |= JSON_UNESCAPED_UNICODE;
598597
$jsonout = json_encode($xVal, $iOptions);

0 commit comments

Comments
 (0)