aboutsummaryrefslogtreecommitdiff
path: root/src/constants/api.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-03-04 18:41:55 -0500
committerGitHub <noreply@github.com>2021-03-04 18:41:55 -0500
commitf355c91ff5c631da55a29d83b676648b8022a6b3 (patch)
treea8977ef1b5ff9f693bd3a11af719b81f8b95b5a7 /src/constants/api.ts
parentac3bff11b72792337c6260f29366aba0c8fc26dd (diff)
parentc9155214b20608e97fc29fe7ef0b660698d6b4fd (diff)
Merge pull request #277 from IvanIFChen/tma680-multiple-live-versions
[TMA-680] Allow Multiple Live Versions
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r--src/constants/api.ts2
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/';