From 31ba2b386c8fb2e29df7303f077f58b3508489b5 Mon Sep 17 00:00:00 2001 From: ncb6206 Date: Fri, 19 Jan 2024 03:16:21 +0900 Subject: [PATCH] =?UTF-8?q?imsi=20:=20=EC=A0=95=EC=83=81=EB=8F=99=EC=9E=91?= =?UTF-8?q?=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/service/products.ts | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/service/products.ts b/src/service/products.ts index 69f457a..69b062b 100644 --- a/src/service/products.ts +++ b/src/service/products.ts @@ -20,15 +20,18 @@ export const GET = async ({ type, pagesize, currentpage }: IPageParams) => { // }, // }); - const response = await instance.get(import.meta.env.VITE_PROXY_URL, { - params: { - query: '신발', - display: actSize, - start: actPage, - sort: 'sim', - filter: 'medium', + const response = await instance.get( + 'https://r1itcy4b28.execute-api.us-east-1.amazonaws.com/default/proxyRewrite', + { + params: { + query: '신발', + display: actSize, + start: actPage, + sort: 'sim', + filter: 'medium', + }, }, - }); + ); if (type === 'length') return response.data.items.length;