X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5140b12aa290e7de8fd0c53f4977e881e5fee0e1..9a9a6f2b66d1ce4459bff4bf1926f504fc26e515:/lib/init-website.php diff --git a/lib/init-website.php b/lib/init-website.php index eb275af2..4d1c2c70 100644 --- a/lib/init-website.php +++ b/lib/init-website.php @@ -5,6 +5,7 @@ { header("Access-Control-Allow-Origin: *"); header("Access-Control-Allow-Methods: OPTIONS,GET"); + header("Access-Control-Max-Age: 8640000"); if (!empty($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS'])) { header("Access-Control-Allow-Headers: ".$_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS']);