Skip to content

Commit a6a7c84

Browse files
committed
[chore] .env 파일 분리에 따른 환경변수명 변경
코드 리뷰에따라 .env 파일 분리 ㅎㅎ 이게 더 깔끔해서 좋다 #11 (comment)
1 parent e3ab9a8 commit a6a7c84

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.devenv renamed to .env.template

File renamed without changes.

src/config/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const ENV = process.env.NODE_ENV;
22

3-
export const API_SERVER = process.env[`${ENV}_API_SERVER`];
3+
export const API_SERVER = process.env.REACT_APP_API_SERVER;
44

55
export const DEFAULT_REQUEST_OPTION = {
66
headers: { "Cache-Control": "no-cache" },

0 commit comments

Comments
 (0)