Files
History-admin/api.ts
2026-03-30 23:29:21 +07:00

10 lines
300 B
TypeScript

export const API_URL_ROOT = process.env.NEXT_PUBLIC_API_URL_ROOT || "";
export const API = {
User : {
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`,
}
}