mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
report software version of status call
This commit is contained in:
@@ -37,7 +37,8 @@ if ($sOutputFormat == 'json') {
|
||||
$aResponse = array(
|
||||
'status' => 0,
|
||||
'message' => 'OK',
|
||||
'data_updated' => (new DateTime('@'.$epoch))->format(DateTime::RFC3339)
|
||||
'data_updated' => (new DateTime('@'.$epoch))->format(DateTime::RFC3339),
|
||||
'software_version' => CONST_NominatimVersion
|
||||
);
|
||||
javascript_renderData($aResponse);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user