www: updated end point url

This commit is contained in:
Lemmy
2026-02-07 23:14:56 -05:00
parent 22a349560f
commit 6e4a302f31
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ Singleton {
// Query geocoding API to convert location name to coordinates
function geocodeLocation(locationName, callback, errorCallback) {
Logger.d("Location", "Geocoding location name");
var geoUrl = "https://noctalia.dev:7777/geocode?city=" + encodeURIComponent(locationName);
var geoUrl = "https://api.noctalia.dev/geocode?city=" + encodeURIComponent(locationName);
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function () {
if (xhr.readyState === XMLHttpRequest.DONE) {