signin
This commit is contained in:
4
api.ts
4
api.ts
@@ -2,9 +2,13 @@ export const API_URL_ROOT = process.env.NEXT_PUBLIC_API_URL_ROOT || "";
|
||||
|
||||
export const API = {
|
||||
User : {
|
||||
CURRENT: `${API_URL_ROOT}/users/current`
|
||||
},
|
||||
Auth : {
|
||||
SIGNUP: `${API_URL_ROOT}/auth/signup`,
|
||||
SIGNIN: `${API_URL_ROOT}/auth/signin`,
|
||||
CREATEOTP: `${API_URL_ROOT}/auth/token/create`,
|
||||
VERIFYOTP: `${API_URL_ROOT}/auth/token/verify`,
|
||||
REFRESH: `${API_URL_ROOT}/auth/refresh`
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user