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

feat(packages): util에 fetcher 추가 #33

Merged
merged 8 commits into from
Feb 13, 2024
Merged

feat(packages): util에 fetcher 추가 #33

merged 8 commits into from
Feb 13, 2024

Conversation

heyman333
Copy link
Member

@heyman333 heyman333 commented Feb 12, 2024

이슈 번호

작업한 목록을 작성해 주세요

스크린샷

pr 포인트나 궁금한 점을 작성해 주세요

@heyman333 heyman333 requested a review from sukvvon as a code owner February 12, 2024 13:39
Copy link

vercel bot commented Feb 12, 2024

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

Name Status Preview Comments Updated (UTC)
favolink-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2024 11:08pm

Copy link
Collaborator

@sukvvon sukvvon left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

packages/shared/utils/src/request.ts Outdated Show resolved Hide resolved
@heyman333 heyman333 self-assigned this Feb 12, 2024
@heyman333 heyman333 added the feat 새로운 기능 추가 또는 기존 기능의 확장 label Feb 12, 2024
apps/extension/vite.config.ts Outdated Show resolved Hide resolved
packages/shared/utils/src/request.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@sukvvon
Copy link
Collaborator

sukvvon commented Feb 12, 2024

vercel에 환경 변수 추가했습니다! 👌

import axios from 'axios';

const axiosInstance = axios.create({
baseURL: `${process.env.HOST}`,
Copy link
Collaborator

@sukvvon sukvvon Feb 12, 2024

Choose a reason for hiding this comment

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

VITE_API_HOST로 바꿔야 작동할 것 같습니다! 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

util에서 vite환경변수 접근이 불가능해서 web에서 base_url 설정하도록 바꿧습니다.

@heyman333 heyman333 merged commit 818948a into main Feb 13, 2024
4 checks passed
@heyman333 heyman333 deleted the feat/fetcher branch February 13, 2024 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 새로운 기능 추가 또는 기존 기능의 확장
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: util 에 공통으로 쓸 fetcher 생성
2 participants