diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-07 18:36:11 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-07 18:36:11 +0100 |
commit | fd608391164ddc9e55e2f383620d395b43ae99b7 (patch) | |
tree | d7718f37e273918933d42f6d488fa70d78f0b1d6 /public/static/js/geolocation.js | |
parent | ba6b517e5b6986609996339eae109bb2c279ee5f (diff) |
switch from HTTP Auth to Cookie Auth
Diffstat (limited to 'public/static/js/geolocation.js')
-rw-r--r-- | public/static/js/geolocation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/static/js/geolocation.js b/public/static/js/geolocation.js index 1c881e2..caf2a2a 100644 --- a/public/static/js/geolocation.js +++ b/public/static/js/geolocation.js @@ -25,14 +25,14 @@ $(document).ready(function() { stationlink.attr('href', ds100); stationlink.text(name); - resultBody.append('<tr><td><a href="/' + ds100 + '">' + name + '</a></td></tr>'); + resultBody.append('<tr><td><a href="/s/' + ds100 + '">' + name + '</a></td></tr>'); }); placeholder.replaceWith(resultTable); } }; var processLocation = function(loc) { - $.post('/x/geolocation', {lon: loc.coords.longitude, lat: loc.coords.latitude}, processResult); + $.post('/geolocation', {lon: loc.coords.longitude, lat: loc.coords.latitude}, processResult); }; var processError = function(error) { |