Update react to use .env

This commit is contained in:
Daniel Mason 2021-03-28 10:57:23 +13:00
parent feb2ac37da
commit 86549d3335
Signed by: idanoo
GPG key ID: 387387CDBC02F132
4 changed files with 16 additions and 9 deletions

2
web/.env.development Normal file
View file

@ -0,0 +1,2 @@
REACT_APP_API_URL=http://127.0.0.1:42069
REACT_APP_REGISTRATION_DISABLED=false

2
web/.env.production Normal file
View file

@ -0,0 +1,2 @@
REACT_APP_API_URL=https://goscrobble.com
REACT_APP_REGISTRATION_DISABLED=true