From f99940fde6fb47000bc8ac2e319695c7818be0bb Mon Sep 17 00:00:00 2001 From: Sewmina Date: Thu, 3 Oct 2024 15:16:53 +0530 Subject: [PATCH] https --- pages/dashboard.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/dashboard.tsx b/pages/dashboard.tsx index 0962666..ec5ab54 100644 --- a/pages/dashboard.tsx +++ b/pages/dashboard.tsx @@ -61,7 +61,7 @@ export default function DashboardPage() { } async function handleWalletClick(address: string) { setActiveWallet(address); - const url = `http://vps.playpoolstudios.com/metahunt/api/launcher/set_wallet.php?id=${user?.id}&wallet=${address}`; + const url = `https://vps.playpoolstudios.com/metahunt/api/launcher/set_wallet.php?id=${user?.id}&wallet=${address}`; const response = await fetch(url); console.log(url); @@ -103,7 +103,7 @@ export default function DashboardPage() { async function fetchVaultData() { if (user?.id) { try { - const response = await fetch(`http://vps.playpoolstudios.com/metahunt/api/launcher/get_vault.php?id=${user?.id}`); + const response = await fetch(`https://vps.playpoolstudios.com/metahunt/api/launcher/get_vault.php?id=${user?.id}`); const data = await response.json(); setVaultData({ prehp: data.prehp, vc: data.vc }); } catch (error) { @@ -130,7 +130,7 @@ export default function DashboardPage() { async function autoSetActiveWallet(){ try { - const response = await fetch(`http://vps.playpoolstudios.com/metahunt/api/launcher/get_active_wallet.php?id=${user?.id}`); + const response = await fetch(`https://vps.playpoolstudios.com/metahunt/api/launcher/get_active_wallet.php?id=${user?.id}`); const activeWalletString = await response.text(); wallets.forEach((element)=>{ if(element.address == activeWalletString){