Skip to content

Commit 0909dc4

Browse files
committedJan 20, 2023
Added the prefix
1 parent e2b33c1 commit 0909dc4

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed
 

‎.env.development

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
BASE_URL=''
1+
REACT_APP_BASE_URL=''

‎.env.production

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
BASE_URL='https://rajgohil07.github.io/todo-app-redux'
1+
REACT_APP_BASE_URL='https://rajgohil07.github.io/todo-app-redux'

‎src/Config/BaseURLConfig.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
export const baseURL = process.env.BASE_URL ? process.env.BASE_URL : "";
1+
export const baseURL = process.env.REACT_APP_BASE_URL
2+
? process.env.REACT_APP_BASE_URL
3+
: "";

0 commit comments

Comments
 (0)
Please sign in to comment.