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

Conf: set user defined proxy in vite #107

Merged
merged 5 commits into from
Jan 16, 2024

Conversation

NamgungJongMin
Copy link
Member

@NamgungJongMin NamgungJongMin commented Jan 16, 2024

개요

Vite 프록시 설정
vercel.json 파일 배포시 api 요청 주소 치환 설정

스크린샷

주요 내용

https://tripvote.site/[path] 를 /api/[path] 로 바꿔주시면 됩니다. (axios 요청 주소 / msw 요청 주소 모두 변경해주세요)

  • vite proxy set
  • vercel.json set
  • api 주소 변경

고민한 점, 질문거리

close #83

Copy link

vercel bot commented Jan 16, 2024

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

Name Status Preview Comments Updated (UTC)
trip-vote-fe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2024 7:38am

SKY-PEY
SKY-PEY previously approved these changes Jan 16, 2024
HOOOO98
HOOOO98 previously approved these changes Jan 16, 2024
@NamgungJongMin NamgungJongMin merged commit 1f20d07 into dev Jan 16, 2024
3 checks passed
@NamgungJongMin NamgungJongMin deleted the 83-conf-set-user-defined-proxy-in-vite branch January 16, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conf: set user-defined proxy in vite
4 participants