Move URL settings into .env file

This commit is contained in:
jwu-fisker
2021-01-07 17:01:24 -08:00
parent 1ed43fa2a0
commit 2d4e446a6f
3 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
const AUTH_URL = 'https://dev-auth.fiskerdps.com';
const AUTH_URL = process.env.REACT_APP_AUTH_SERVICE_URL;
const auth = {
signIn: (username, password) => fetch(`${AUTH_URL}/auth/login`, {