diff --git a/Dockerfile b/Dockerfile index aa5b630..cf5f99a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,4 @@ RUN npm install COPY . . EXPOSE 3000 -CMD [ "node", "*proxy.js" ] +CMD [ "node", "proxy.js" ] diff --git a/docs/script.js b/docs/script.js index 537d8d1..7cf406d 100644 --- a/docs/script.js +++ b/docs/script.js @@ -52,7 +52,7 @@ var getLonLat = function (data) { var fetchAndDisplay = function (api, url, ip, proxy = false) { - const proxyUrl = "https://ipgeoproxy.emrik.org/"; + const proxyUrl = "https://geoipproxy.emrik.org/"; let timeStart = performance.now(); fetch(url).then(response => response.json()).then(data => { let timeDiff = (performance.now() - timeStart).toFixed(0);