Skip to content

Commit e1289af

Browse files
committed
Use dotenv to manage BASE_URL state
1 parent 82100c8 commit e1289af

File tree

7 files changed

+81
-92
lines changed

7 files changed

+81
-92
lines changed

.babelrc

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"presets": ["babel-preset-expo"],
3-
"env": {
4-
"development": {
5-
"plugins": ["transform-react-jsx-source"]
6-
}
7-
}
2+
"presets": ["babel-preset-expo", "module:metro-react-native-babel-preset", "module:react-native-dotenv"]
83
}

.env

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BASE_URL=https://192.168.11.110:57767

.env.production

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BASE_URL=https://sardonyx.app

0 commit comments

Comments
 (0)