X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6f442b6617dc30729b7657f3e5e6e5dfb57e6ac0..234b1b0293aff8fe8bd13df986805e7d1b39bca2:/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);