https
This commit is contained in:
parent
e61d4555de
commit
f99940fde6
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user