added ssl domain instead of unsecure ip since browsers require that now apparantly
This commit is contained in:
parent
6e4e45234b
commit
4c485b01c2
@ -1,13 +1,13 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { trackPromise } from 'react-promise-tracker';
|
import { trackPromise } from 'react-promise-tracker';
|
||||||
const URLleaderboard = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/leaderboard";
|
const URLleaderboard = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/leaderboard";
|
||||||
const URLPlayer = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/player/";
|
const URLPlayer = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/player/";
|
||||||
const URLPlayerMaps = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/player/maps/";
|
const URLPlayerMaps = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/player/maps/";
|
||||||
const URLMaps = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/map/";
|
const URLMaps = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/map/";
|
||||||
const URLAllMaps = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/allmaps";
|
const URLAllMaps = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/allmaps";
|
||||||
const URLMapsSize = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/mapsizecache";
|
const URLMapsSize = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/mapsizecache";
|
||||||
const URLSearchPlayers = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/searchplayers/";
|
const URLSearchPlayers = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/searchplayers/";
|
||||||
const URLSearchMaps = "http://163.172.84.14:8080/racetimer_endpoints-1.0/api/timers/searchmaps/";
|
const URLSearchMaps = "https://christiansretsimpletestserver.xyz/racetimer_endpoints-1.0/api/timers/searchmaps/";
|
||||||
|
|
||||||
function handleHttpErrors(res) {
|
function handleHttpErrors(res) {
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
|
Loading…
Reference in New Issue
Block a user