From 310786f3e731873ebcf3259db92b16ca717bd293 Mon Sep 17 00:00:00 2001 From: Kartik Agarwal <103099845+kartikhustles@users.noreply.github.com> Date: Thu, 23 Nov 2023 15:41:59 +0530 Subject: [PATCH] updated Swiggy API --- src/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 523132f..059cdce 100644 --- a/src/config.js +++ b/src/config.js @@ -12,7 +12,8 @@ export const ITEM_IMG_CDN = /* BANGALORE LOCATION URL */ export const GET_RESTAURANTS_LIST = - "https://www.swiggy.com/dapi/restaurants/list/v5?lat=12.9351929&lng=77.62448069999999&page_type=DESKTOP_WEB_LISTING"; + // "https://www.swiggy.com/dapi/restaurants/list/v5?lat=12.9351929&lng=77.62448069999999&page_type=DESKTOP_WEB_LISTING"; + "https://www.swiggy.com/dapi/restaurants/list/v5?lat=12.9351929&lng=77.62448069999999&is-seo-homepage-enabled=true&page_type=DESKTOP_WEB_LISTING"; export const GET_RESTAURANT_MENU = "https://www.swiggy.com/dapi/menu/v4/full?lat=12.9351929&lng=77.62448069999999&menuId=";