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