Open jihostudy opened 1 month ago
NEXT_PUBLIC_LOCAL_URL = http://localhost:3000
NEXT_PUBLIC_DEPLOY_URL = https://comit-website.vercel.app
민감한 정보도 아닌데 굳이 env로 만드는 이유가 있나요?
추가 완료했습니다!
NEXT_PUBLIC_APP_URL
처럼 1개의 이름을 사용하고 버셀 UI에서 Environments를 설정해주는 게 더 나은 방법입니다.
그렇게하면 로컬에서 개발하기 위해 vc env pull
을 하면 Development의 환경 변수를 갖고 오고, 프로덕션에 배포할때는 Production 의 환경변수를 사용합니다
Describe the feature
For Checking API Route I added an .env.local file.
Please Add this .env.local file on all of your projects
.env.local
@B0XERCAT Please add enviroment settings as above on vercel deploy app
Later, we will fix NEXT_PUBLIC_DEPLOY_URL to backend domain name. you can find it on settings > Environment Variables