X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b3b109b86fb747439f3a66a72bcd046b6278a0b3..2e14c7b337b9540ab03a4ed3c3cb21b16f1be6cd:/lib/init-website.php?ds=inline 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']);