redid to actual https

This commit is contained in:
Christian 2021-01-27 00:58:59 +01:00
parent 131136baa2
commit 01685680ab

View File

@ -1,13 +1,13 @@
import React from 'react';
import { trackPromise } from 'react-promise-tracker';
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/";
const URLleaderboard = "https://racebackend.unloze.com/racetimer_endpoints-1.0/api/timers/leaderboard";
const URLPlayer = "https://racebackend.unloze.com/racetimer_endpoints-1.0/api/timers/player/";
const URLPlayerMaps = "https://racebackend.unloze.com/racetimer_endpoints-1.0/api/timers/player/maps/";
const URLMaps = "https://racebackend.unloze.com/racetimer_endpoints-1.0/api/timers/map/";
const URLAllMaps = "https://racebackend.unloze.com/racetimer_endpoints-1.0/api/timers/allmaps";
const URLMapsSize = "https://racebackend.unloze.com/racetimer_endpoints-1.0/api/timers/mapsizecache";
const URLSearchPlayers = "https://racebackend.unloze.com/racetimer_endpoints-1.0/api/timers/searchplayers/";
const URLSearchMaps = "https://racebackend.unloze.com/racetimer_endpoints-1.0/api/timers/searchmaps/";
function handleHttpErrors(res) {
if (!res.ok) {