2 import { onMount } from 'svelte';
3 import { fetch_from_api, update_html_title } from '../lib/api_utils.js';
5 import Header from '../components/Header.svelte';
10 fetch_from_api('status', { format: 'json' }, function (data) {
13 update_html_title('Server status');
19 <div class="container">
21 <div class="col-sm-12">
22 <h1>Server status</h1>
26 <dd><a href={Nominatim_Config.Nominatim_API_Endpoint}>{Nominatim_Config.Nominatim_API_Endpoint}</a></dd>
28 <dt>Software version</dt>
29 <dd>{aStatusData.software_version}</dd>
31 <dt>Database version</dt>
32 <dd>{aStatusData.database_version}</dd>
34 <dt>Data last updated</dt>
35 <dd>{aStatusData.data_updated}</dd>