use __ prefix for api because it isn't cached by default with create-react-app

This commit is contained in:
2018-07-13 02:42:27 +03:00
parent 03551c560f
commit 3911e8f5d1
3 changed files with 8 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ const production = {
googleEnabled: process.env.GOOGLE_ENABLED,
googleClientId: process.env.GOOGLE_CLIENT_ID,
googleClientSecret: process.env.GOOGLE_CLIENT_SECRET,
googleCallback: `${process.env.HOST}/api/users/login/google/callback`,
googleCallback: `${process.env.HOST}/__/users/login/google/callback`,
},
secret: process.env.SECRET,
};