Anandsg / Hungry-hero

The app is designed to be user-friendly, making it easy for people to discover, choose, and manage their favourite dining spots and food orders ⚡️
https://hungry-hero-ag.netlify.app/
MIT License
65 stars 102 forks source link

Cors Error #2

Closed Gururajraibagi closed 1 year ago

Gururajraibagi commented 1 year ago

Due to the fact that we are hitting the Swiggy API, we get a CORS error when loading the page

image

Anandsg commented 1 year ago

Please install the CORS extension for chrome and try, as we are using live swiggy API the browser doesn't allow to fetch data from external site. please install CORS from below link and revert back for any further issue

https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf

Screenshot 2023-09-21 at 8 16 53 AM
Gururajraibagi commented 1 year ago

Working fine after installing the extension thank you.