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';
8 let configuration = Nominatim_Config;
11 fetch_from_api('status', { format: 'json' }, function (data) {
14 update_html_title('Server status');
20 <div class="container">
22 <div class="col-sm-12">
23 <h1>Server status</h1>
28 <a href={configuration.Nominatim_API_Endpoint}>
29 {configuration.Nominatim_API_Endpoint}
33 <dt>Software version</dt>
34 <dd>{aStatusData.software_version}</dd>
36 <dt>Database version</dt>
37 <dd>{aStatusData.database_version}</dd>
39 <dt>Data last updated</dt>
40 <dd>{aStatusData.data_updated}</dd>