Skip to content

Update CDN_URL to new media assets URL - #10

Open
rawatakanksha wants to merge 1 commit into
namastedev:mainfrom
rawatakanksha:patch-1
Open

Update CDN_URL to new media assets URL#10
rawatakanksha wants to merge 1 commit into
namastedev:mainfrom
rawatakanksha:patch-1

Conversation

@rawatakanksha

@rawatakanksha rawatakanksha commented Aug 3, 2026

Copy link
Copy Markdown

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

Summary by CodeRabbit

  • Bug Fixes
    • Updated image delivery to use the new media asset host, ensuring images continue to load correctly with existing transformations.

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
@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 9f3eb9eb-710b-4538-b6c9-fe138bb5f513

📥 Commits

Reviewing files that changed from the base of the PR and between 02ea58b and 83b1da3.

📒 Files selected for processing (1)
  • src/utils/constants.js

📝 Walkthrough

Walkthrough

The exported CDN_URL constant now uses Swiggy’s media-assets.swiggy.com host. Existing image transformation parameters remain unchanged.

Changes

CDN Host Update

Layer / File(s) Summary
Update CDN URL host
src/utils/constants.js
CDN_URL now uses Swiggy’s media-assets domain while preserving the existing transformation path and parameters.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A rabbit hops through fields of light,
The CDN host now points just right.
Old clouds fade from the trail,
New media paths prevail.
Image shapes stay snug and bright.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the change from the old CDN URL to the new media assets URL.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant