-
Notifications
You must be signed in to change notification settings - Fork 1
/
routes.ts
19 lines (18 loc) · 895 Bytes
/
routes.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// API routes
const apiBase = `${import.meta.env.VITE_API_URL}/api/v2`
export const streamUrl = `${apiBase}/stream`
export const chatUrl = `${apiBase}/chat`
export const getChatsUrl = `${apiBase}/chats`
export const getArchiveUrl = `${apiBase}/chat/archive`
export const indexesUrl = `${apiBase}/indexes`
export const institutionsUrl = `${apiBase}/institutions`
export const signinUrl = `${apiBase}/sign_in`
export const signoutUrl = `${apiBase}/sign_out`
export const resetPasswordMailUrl = `${apiBase}/send_reset_password_email`
export const resetPasswordUrl = `${apiBase}/reset_password`
export const userUrl = `${apiBase}/user/me`
export const contactUrl = `${apiBase}/user/contact`
export const feedbackUrl = `${apiBase}/feedback/add`
export const getSheetsUrl = `${apiBase}/get_sheets`
export const getChunksUrl = `${apiBase}/get_chunks`
export const getChunkUrl = `${apiBase}/get_chunk`