-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from wambugucoder/branch_update
Branch update
- Loading branch information
Showing
6 changed files
with
130 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
//export const API_BASE_URL = 'https://localhost:8443/api/v1'; | ||
//export const OAUTH2_REDIRECT_URI = 'http://localhost:3000/oauth2/redirect' | ||
export const API_BASE_URL = 'https://pollsapp-2021.westeurope.cloudapp.azure.com:8443/api/v1'; | ||
export const OAUTH2_REDIRECT_URI = 'https://pollsapp-2021.westeurope.cloudapp.azure.com/oauth2/redirect' | ||
export const API_BASE_URL = process.env.NODE_ENV==="development"?'https://localhost:8443/api/v1':'https://pollsapp-2021.westeurope.cloudapp.azure.com:8443/api/v1' | ||
export const OAUTH2_REDIRECT_URI = process.env.NODE_ENV==="development"?'http://localhost:3000/oauth2/redirect':'https://pollsapp-2021.westeurope.cloudapp.azure.com/oauth2/redirect' | ||
export const ACCESS_TOKEN = 'jwtToken'; | ||
export const GOOGLE_AUTH_URL = API_BASE_URL + '/oauth2/authorize/google?redirect_uri=' + OAUTH2_REDIRECT_URI; | ||
export const GITHUB_AUTH_URL = API_BASE_URL + '/oauth2/authorize/github?redirect_uri=' + OAUTH2_REDIRECT_URI; | ||
export const GITHUB_AUTH_URL = API_BASE_URL + '/oauth2/authorize/github?redirect_uri=' + OAUTH2_REDIRECT_URI; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters