Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(shared): baseUrl 설정 #184

Merged
merged 1 commit into from
Nov 26, 2023
Merged

chore(shared): baseUrl 설정 #184

merged 1 commit into from
Nov 26, 2023

Conversation

DongjaJ
Copy link
Member

@DongjaJ DongjaJ commented Nov 26, 2023

📌 이슈번호

📗 구현 내용

환경변수로 baseUrl을 관리하도록 설정했습니다.

프로젝트의 루트에 .env파일을 만들고 다음 내용을 입력하면 됩니다.

VITE_BASE_URL=[our_base_url]

msw로 개발하고 싶다면 shared/constants/baseUrl.ts에서 아래와 같이 설정하면 됩니다.

const DEV_BASE_URL = '/';

📖 PR 포인트 & 궁금한 점

@DongjaJ DongjaJ linked an issue Nov 26, 2023 that may be closed by this pull request
2 tasks
Copy link

vercel bot commented Nov 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated (UTC)
anifriends-frontend-shelter ⬜️ Ignored (Inspect) Nov 26, 2023 7:25am
anifriends-frontend-volunteer ⬜️ Ignored (Inspect) Nov 26, 2023 7:25am

@DongjaJ DongjaJ self-assigned this Nov 26, 2023
@DongjaJ DongjaJ added 🏅 Chore 위에 걸리지 않는 기타 변경사항(빌드 스크립트 수정, assets image, 패키지 매니저 등) 🐣 Feat 새로운 기능 추가 labels Nov 26, 2023
@DongjaJ DongjaJ added this to the Sprint_4 milestone Nov 26, 2023
Copy link
Contributor

@Eosdia Eosdia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍👍👍

@DongjaJ DongjaJ merged commit 884f315 into develop Nov 26, 2023
4 checks passed
@DongjaJ DongjaJ deleted the feat/183 branch November 26, 2023 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏅 Chore 위에 걸리지 않는 기타 변경사항(빌드 스크립트 수정, assets image, 패키지 매니저 등) 🐣 Feat 새로운 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: BaseUrl 환경변수 설정
2 participants