diff options
author | Mo Tarbin <mhed.t91@gmail.com> | 2024-07-01 02:07:17 -0400 |
---|---|---|
committer | Mo Tarbin <mhed.t91@gmail.com> | 2024-07-01 02:07:17 -0400 |
commit | dd7440c0d98890bd3692b59f77ee630965ec02a9 (patch) | |
tree | 266a5ce98190e5fe09f10f5e7f59273e916b5338 /src | |
parent | 9891b2636245aad1412cf3ead88ba69e35fdc352 (diff) | |
download | donetick-frontend-dd7440c0d98890bd3692b59f77ee630965ec02a9.tar.gz donetick-frontend-dd7440c0d98890bd3692b59f77ee630965ec02a9.tar.bz2 donetick-frontend-dd7440c0d98890bd3692b59f77ee630965ec02a9.zip |
Update API URL in Config.js for development environment
Diffstat (limited to 'src')
-rw-r--r-- | src/Config.js | 3 |
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 |