From caeecb29b722db28a629212c9bcd8112d0681971 Mon Sep 17 00:00:00 2001 From: ncb6206 Date: Fri, 19 Jan 2024 03:06:17 +0900 Subject: [PATCH] =?UTF-8?q?Refactor=20:=20env=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yaml | 1 + src/service/products.ts | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 9843b5f..f54e9a9 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -29,5 +29,6 @@ jobs: AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + VITE_PROXY_URL: ${{ secrets.VITE_PROXY_URL }} AWS_REGION: 'ap-northeast-2' SOURCE_DIR: 'dist' diff --git a/src/service/products.ts b/src/service/products.ts index d59395e..69f457a 100644 --- a/src/service/products.ts +++ b/src/service/products.ts @@ -20,8 +20,6 @@ export const GET = async ({ type, pagesize, currentpage }: IPageParams) => { // }, // }); - console.log(import.meta.env.VITE_PROXY_URL); - const response = await instance.get(import.meta.env.VITE_PROXY_URL, { params: { query: '신발',