X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a0acc6e913fa7903e2426f35b07ffcd0df3d0b05..f0d962f8a0bd6aac32c07420956c35479d5ec467:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 75e72b4c..897db8e7 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -592,7 +592,6 @@ function javascript_renderData($xVal, $iOptions = 0) { - header("Access-Control-Allow-Origin: *"); if (defined('PHP_VERSION_ID') && PHP_VERSION_ID > 50400) $iOptions |= JSON_UNESCAPED_UNICODE; $jsonout = json_encode($xVal, $iOptions);