diff --git a/.github/workflows/_deploy.yml b/.github/workflows/_deploy.yml index 0fb5dbf..45fcfb0 100644 --- a/.github/workflows/_deploy.yml +++ b/.github/workflows/_deploy.yml @@ -12,6 +12,9 @@ on: ga_measurement_id: required: true type: string + social_login_base_url: + required: true + type: string jobs: deploy: @@ -35,7 +38,7 @@ jobs: env: VITE_GA_MEASUREMENT_ID: ${{ inputs.ga_measurement_id }} VITE_API_URL: ${{ vars.VITE_API_URL }} - VITE_SOCIAL_LOGIN_BASE_URL: ${{ vars.VITE_SOCIAL_LOGIN_BASE_URL }} + VITE_SOCIAL_LOGIN_BASE_URL: ${{ inputs.social_login_base_url }} - name: Deploy to S3 and Invalidate Cloudfront env: diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 48f926d..5b5cf6e 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -13,4 +13,5 @@ jobs: bucket_name: hangsha-web-dev distribution_id: E3FWQLYH2W4XLU ga_measurement_id: ${{ vars.VITE_GA_MEASUREMENT_ID_DEV }} + social_login_base_url: ${{ vars.VITE_SOCIAL_LOGIN_BASE_URL_DEV }} secrets: inherit diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index c305e7e..bd379fe 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -13,4 +13,5 @@ jobs: bucket_name: hangsha-web-prod distribution_id: E1UQAE6HOA8O14 ga_measurement_id: ${{ vars.VITE_GA_MEASUREMENT_ID_PROD }} + social_login_base_url: ${{ vars.VITE_SOCIAL_LOGIN_BASE_URL_PROD }} secrets: inherit diff --git a/src/api/bugReport.ts b/src/api/bugReport.ts index 664e272..6d5a231 100644 --- a/src/api/bugReport.ts +++ b/src/api/bugReport.ts @@ -6,5 +6,5 @@ export interface CreateBugReportRequest { } export const createBugReport = async (body: CreateBugReportRequest) => { - await api.post("/api/v1/bug-reports", body); + await api.post("/bug-reports", body); }; diff --git a/src/pages/timetable/TimetablePage.tsx b/src/pages/timetable/TimetablePage.tsx index 089a61d..4ca999c 100644 --- a/src/pages/timetable/TimetablePage.tsx +++ b/src/pages/timetable/TimetablePage.tsx @@ -208,8 +208,14 @@ export default function TimetablePage() { 선택된 시간표가 없어요