changed ip sources

This commit is contained in:
Christian 2021-01-26 23:44:37 +01:00
parent e7930a6cd1
commit 7b206ff29d

View File

@ -1,13 +1,13 @@
import React from 'react';
import { trackPromise } from 'react-promise-tracker';
const URLleaderboard = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/leaderboard";
const URLPlayer = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/player/";
const URLPlayerMaps = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/player/maps/";
const URLMaps = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/map/";
const URLAllMaps = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/allmaps";
const URLMapsSize = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/mapsizecache";
const URLSearchPlayers = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/searchplayers/";
const URLSearchMaps = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/searchmaps/";
const URLleaderboard = "163.172.225.175:8080/racetimer_endpoints-1.0/api/timers/leaderboard";
const URLPlayer = "163.172.225.175:8080/racetimer_endpoints-1.0/api/timers/player/";
const URLPlayerMaps = "163.172.225.175:8080/racetimer_endpoints-1.0/api/timers/player/maps/";
const URLMaps = "163.172.225.175:8080/racetimer_endpoints-1.0/api/timers/map/";
const URLAllMaps = "163.172.225.175:8080/racetimer_endpoints-1.0/api/timers/allmaps";
const URLMapsSize = "163.172.225.175:8080/racetimer_endpoints-1.0/api/timers/mapsizecache";
const URLSearchPlayers = "163.172.225.175:8080/racetimer_endpoints-1.0/api/timers/searchplayers/";
const URLSearchMaps = "163.172.225.175:8080/racetimer_endpoints-1.0/api/timers/searchmaps/";
function handleHttpErrors(res) {
if (!res.ok) {