generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 2
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 #664 from bcgov/feat/srs-339
add an api request in frontend to create a user in database.
- Loading branch information
Showing
3 changed files
with
63 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
export const USERS = "/users"; | ||
|
||
export const COMS = "/api/v1/user" | ||
|
||
export const GRAPHQL= "/graphql" | ||
|
||
export const API:string = process.env.REACT_APP_BACKEND_API|| ((window as any)._env_ && (window as any)._env_.REACT_APP_BACKEND_API) | ||
|
||
export const USERS_API: string = process.env.REACT_APP_BACKEND_USERS_API|| ((window as any)._env_ && (window as any)._env_.REACT_APP_BACKEND_USERS_API) | ||
export const USERS_API: string = process.env.REACT_APP_BACKEND_USERS_API|| ((window as any)._env_ && (window as any)._env_.REACT_APP_BACKEND_USERS_API) | ||
|
||
export const COMS_API: string = process.env.REACT_APP_BCBOX_BASE_URL|| ((window as any)._env_ && (window as any)._env_.REACT_APP_BCBOX_BASE_URL) |
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