]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/pages/StatusPage.svelte
Revert "Add build output into dist/ for immediate use"
[nominatim-ui.git] / src / pages / StatusPage.svelte
index 242d54daba2aa0ccbea711a0a616b3b2f32f3c67..1a29d56fe8daf225a03eda15bc92db29fc9c68d7 100644 (file)
@@ -5,6 +5,7 @@
   import Header from '../components/Header.svelte';
 
   let aStatusData = {};
+  let configuration = Nominatim_Config;
 
   function loaddata() {
     fetch_from_api('status', { format: 'json' }, function (data) {
 
       <dl>
         <dt>API Endpoint</dt>
-        <dd><a href={Nominatim_Config.Nominatim_API_Endpoint}>{Nominatim_Config.Nominatim_API_Endpoint}</a></dd>
+        <dd>
+          <a href={configuration.Nominatim_API_Endpoint}>
+            {configuration.Nominatim_API_Endpoint}
+          </a>
+        </dd>
 
         <dt>Software version</dt>
         <dd>{aStatusData.software_version}</dd>