]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/search.html
Rebundle latest version
[nominatim-ui.git] / dist / search.html
index 99aa904a971efe3bc8dd458cf6882623ce4e9013..5e19ab7e1bee041cedac061913f08e7d17377ee3 100644 (file)
 
   <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>