aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-01 02:07:17 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-01 02:07:17 -0400
commitdd7440c0d98890bd3692b59f77ee630965ec02a9 (patch)
tree266a5ce98190e5fe09f10f5e7f59273e916b5338
parent9891b2636245aad1412cf3ead88ba69e35fdc352 (diff)
downloaddonetick-frontend-dd7440c0d98890bd3692b59f77ee630965ec02a9.tar.gz
donetick-frontend-dd7440c0d98890bd3692b59f77ee630965ec02a9.tar.bz2
donetick-frontend-dd7440c0d98890bd3692b59f77ee630965ec02a9.zip
Update API URL in Config.js for development environment
-rw-r--r--src/Config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Config.js b/src/Config.js
index 19a896b..f45b610 100644
--- a/src/Config.js
+++ b/src/Config.js
@@ -1,5 +1,6 @@
/* eslint-env node */
-export const API_URL = import.meta.env.VITE_APP_API_URL //|| 'http://localhost:8000'
+export const API_URL =
+ import.meta.env.VITE_APP_API_URL || 'http://localhost:2021'
export const REDIRECT_URL = import.meta.env.VITE_APP_REDIRECT_URL //|| 'http://localhost:3000'
export const GOOGLE_CLIENT_ID = import.meta.env.VITE_APP_GOOGLE_CLIENT_ID
export const ENVIROMENT = import.meta.env.VITE_APP_ENVIROMENT