]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/search.html
Svelte 3.x -> 4.x
[nominatim-ui.git] / dist / search.html
index 79182597a522d780090e70c21ad0074fc02ac5d9..5e19ab7e1bee041cedac061913f08e7d17377ee3 100644 (file)
@@ -6,13 +6,20 @@
 
   <title>Nominatim Demo</title>
 
 
   <title>Nominatim Demo</title>
 
-  <link rel="icon" type="image/png" href="theme/favicon-194x194.png" sizes="194x194" />
-  <link rel="icon" type="image/png" href="theme/favicon-32x32.png" sizes="32x32" />
+  <link rel="icon" type="image/png" href="theme/favicon-194x194.png" sizes="194x194">
+  <link rel="icon" type="image/png" href="theme/favicon-32x32.png" sizes="32x32">
 
   <link rel='stylesheet' href='build/bundle.css'>
   <link rel='stylesheet' href='theme/style.css'>
 
 
   <link rel='stylesheet' href='build/bundle.css'>
   <link rel='stylesheet' href='theme/style.css'>
 
-  <script src='config.js'></script>
+  <script src='config.defaults.js'></script>
+  <script src='theme/config.theme.js'></script>
+
+  <script>
+    if (Nominatim_Config.Reverse_Only) {
+      window.location.pathname = window.location.pathname.replace('search.html', 'reverse.html');
+    }
+  </script>
   <script defer src='build/bundle.js'></script>
 </head>
 
   <script defer src='build/bundle.js'></script>
 </head>