diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-02 16:25:49 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-03-02 16:25:49 -0500 |
commit | f14a3582e6b8dc19573b48b035fe31c560dac77a (patch) | |
tree | 5cf5a488485fe314538a33426d59d4ce4c270829 /src/constants/api.ts | |
parent | 791a3a7008cbd861ab1cf1b643d95d3555b3676b (diff) |
renamed and changed logic to check for multiple versions
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r-- | src/constants/api.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index 57c26824..380dd061 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -4,7 +4,7 @@ const BASE_URL: string = 'http://127.0.0.1:8000/'; // local server const API_URL: string = BASE_URL + 'api/'; export const LOGIN_ENDPOINT: string = API_URL + 'login/'; -export const VERSION_ENDPOINT: string = API_URL + 'version/'; +export const VERSION_ENDPOINT: string = API_URL + 'version/v2/'; export const REGISTER_ENDPOINT: string = API_URL + 'register/'; export const EDIT_PROFILE_ENDPOINT: string = API_URL + 'edit-profile/'; export const SEND_OTP_ENDPOINT: string = API_URL + 'send-otp/'; |