From 4c485b01c2d5c8975ae423cafcb63e50a6d76716 Mon Sep 17 00:00:00 2001 From: jenzur Date: Mon, 20 Jan 2020 19:33:29 +0100 Subject: [PATCH] added ssl domain instead of unsecure ip since browsers require that now apparantly --- .../racetimer_react/src/Datafacade/datafacade.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/RaceTimer/racetimer_react/src/Datafacade/datafacade.js b/RaceTimer/racetimer_react/src/Datafacade/datafacade.js index 27465b5d..45db31ce 100644 --- a/RaceTimer/racetimer_react/src/Datafacade/datafacade.js +++ b/RaceTimer/racetimer_react/src/Datafacade/datafacade.js @@ -1,13 +1,13 @@ import React from 'react'; import { trackPromise } from 'react-promise-tracker'; -const URLleaderboard = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/leaderboard"; -const URLPlayer = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/player/"; -const URLPlayerMaps = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/player/maps/"; -const URLMaps = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/map/"; -const URLAllMaps = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/allmaps"; -const URLMapsSize = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/mapsizecache"; -const URLSearchPlayers = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/searchplayers/"; -const URLSearchMaps = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/searchmaps/"; +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/"; function handleHttpErrors(res) { if (!res.ok) {