Changed API Endpoints to new server
This commit is contained in:
parent
fae17d0438
commit
59ac29e3da
|
|
@ -41,7 +41,7 @@ function Home() {
|
|||
useEffect(() => {
|
||||
const intervalId = setInterval(async () => {
|
||||
setIncrementNumber((prevNumber) => prevNumber + 1);
|
||||
const response = await fetch('https://vps.playpoolstudios.com/callfi/get_leaderboard.php');
|
||||
const response = await fetch('https://api.callfi.io/get_leaderboard.php');
|
||||
if (!response.ok) {
|
||||
throw new Error('Network response was not ok');
|
||||
}
|
||||
|
|
@ -59,7 +59,7 @@ function Home() {
|
|||
|
||||
const postLoginAPI = async (usertag) => {
|
||||
try {
|
||||
const response = await fetch('https://vps.playpoolstudios.com/callfi/register_twitter_user.php?tag=' + usertag);
|
||||
const response = await fetch('https://api.callfi.io/register_twitter_user.php?tag=' + usertag);
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error('Network response was not ok');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user