From 53e091d3a422d90cb6fb7652a4a08c011dc0edd4 Mon Sep 17 00:00:00 2001 From: Vassshhh Date: Mon, 28 Jul 2025 01:15:07 +0700 Subject: [PATCH] ok --- src/components/MusicPlayer.js | 2 +- src/config.js | 2 +- src/pages/Dashboard.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/MusicPlayer.js b/src/components/MusicPlayer.js index 754932f..84ac216 100644 --- a/src/components/MusicPlayer.js +++ b/src/components/MusicPlayer.js @@ -108,7 +108,7 @@ export function MusicPlayer({ socket, shopId, user, shopOwnerId, isSpotifyNeedLo // setSubtitleColor("white"); // setSubtitleBG("black"); // } - const proxiedUrl = `https://api.kedaimaster.com/image?url=${encodeURIComponent(modifyUrl(imageUrl))}`; // Use your proxy to fetch the image + const proxiedUrl = `https://dev.api.kedaimaster.com/image?url=${encodeURIComponent(modifyUrl(imageUrl))}`; // Use your proxy to fetch the image setBackgroundImage(proxiedUrl); } catch (error) { diff --git a/src/config.js b/src/config.js index 967c5ce..6cf67cc 100644 --- a/src/config.js +++ b/src/config.js @@ -1,5 +1,5 @@ // src/config.js -const API_BASE_URL = 'https://api.kedaimaster.com'; +const API_BASE_URL = 'https://dev.api.kedaimaster.com'; export default API_BASE_URL; diff --git a/src/pages/Dashboard.js b/src/pages/Dashboard.js index e8a2209..5202976 100644 --- a/src/pages/Dashboard.js +++ b/src/pages/Dashboard.js @@ -71,9 +71,9 @@ const LinktreePage = ({ user, setModal }) => { // Handle manual coupon code check const handleGetkCoupons = async () => { - const result = await getUserCoupons(); - setCoupons(result.coupons); - console.log(result) + // const result = await getUserCoupons(); + // setCoupons(result.coupons); + // console.log(result) }; // Handle user transactions