Skip to content

Commit

Permalink
change url
Browse files Browse the repository at this point in the history
  • Loading branch information
C4illin committed Oct 31, 2023
1 parent 5ad1c36 commit ce2a63b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ RUN npm install
COPY . .

EXPOSE 3000
CMD [ "node", "*proxy.js" ]
CMD [ "node", "proxy.js" ]
2 changes: 1 addition & 1 deletion docs/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ce2a63b

Please sign in to comment.