From 83b1da39a7b905f218d022cccd1bca45acaa813b Mon Sep 17 00:00:00 2001 From: rawatakanksha Date: Mon, 3 Aug 2026 15:48:34 +0530 Subject: [PATCH] Update CDN_URL to new media assets URL Swiggy updated their media server URL from res.cloudinary.com to media-assets.swiggy.com. The old res.cloudinary.com domain now blocks requests or returns 404 errors --- src/utils/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/constants.js b/src/utils/constants.js index 081ecfe..06d48b9 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -1,5 +1,5 @@ export const CDN_URL = - "https://res.cloudinary.com/swiggy/image/upload/fl_lossy,f_auto,q_auto,w_508,h_320,c_fill/"; + "https://media-assets.swiggy.com/swiggy/image/upload/fl_lossy,f_auto,q_auto,w_508,h_320,c_fill/"; export const LOGO_URL = "https://www.logodesign.net/logo/smoking-burger-with-lettuce-3624ld.png";