From d796cebf3589c49b99ae18bd2f37769b1c50ea1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EA=B4=80=EC=8B=9D?= <39869096+gwansikk@users.noreply.github.com> Date: Wed, 27 Mar 2024 00:24:06 +0900 Subject: [PATCH] =?UTF-8?q?refactor(auth):=20api=20versioning=20=EB=8C=80?= =?UTF-8?q?=EC=9D=91=20(#80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/auth/app/constants/api.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/auth/app/constants/api.ts b/apps/auth/app/constants/api.ts index 6b845674..1c250768 100644 --- a/apps/auth/app/constants/api.ts +++ b/apps/auth/app/constants/api.ts @@ -1,8 +1,8 @@ -export const API_BASE_URL = 'https://api.clab.page'; +export const API_BASE_URL = 'https://api.clab.page/api'; export const END_POINTS = { - LOGIN: '/login', - TWO_FACTOR_LOGIN: '/login/authenticator', + LOGIN: '/v1/login', + TWO_FACTOR_LOGIN: '/v1/login/authenticator', } as const; export const SUCCESS_MESSAGE = { @@ -11,7 +11,7 @@ export const SUCCESS_MESSAGE = { export const ERROR_MESSAGE = { AUTH: '인증에 실패했습니다.', - SERVER: '오류가 발생했습니다. 잠시 후 다시 시도해주세요.', + SERVER: '로그인에 실패했습니다. 입력 정보를 다시 확인해주세요.', } as const; // OAuth 백엔드가 개발 전까지 임시로 사용합니다