mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
Change access control to implement more of CORS. Change so OPTIONS requests don't do an actual search/reverse request
This commit is contained in:
@@ -138,8 +138,9 @@
|
||||
$sSQL .= " get_name_by_language(name, ARRAY['ref']) as ref,";
|
||||
$sSQL .= " st_y(st_centroid(geometry)) as lat, st_x(st_centroid(geometry)) as lon";
|
||||
$sSQL .= " from placex where place_id = $iPlaceID ";
|
||||
//var_dump($sSQL);
|
||||
|
||||
$aPlace = $oDB->getRow($sSQL);
|
||||
//var_dump($sSQL, $aPlace); exit;
|
||||
|
||||
if ($bShowAddressDetails)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user