From ce2a63bf40b529cbde0f1b730bed076d624f6ef7 Mon Sep 17 00:00:00 2001 From: C4illin Date: Tue, 31 Oct 2023 10:27:28 +0100 Subject: [PATCH] change url --- Dockerfile | 2 +- docs/script.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);