diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-09 11:25:10 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-09 11:25:10 -0500 |
commit | a25ec0b95017a9b6e0c3392f8fe1ad4c604de520 (patch) | |
tree | 370d6144466ffb82937adfb3a7737374656e67ed /src/constants/api.ts | |
parent | f28ef2d4ac61475d7bd9728634b80f7c0760ff58 (diff) |
added newVersionAvailable to store, added logic to request newest version
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 32631be0..165bd550 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -3,7 +3,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 LOGOUT_ENDPOINT: string = API_URL + 'logout/'; +export const VERSION_ENDPOINT: string = API_URL + 'version/'; 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/'; |