You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
bililive_webapp/src/interface.ts

8 lines
439 B

const prefix = '/api/backend'
export const sendCodeApi = `${prefix}/change/email/code`
export const changeEmailApi = `${prefix}/change/email`
export const changePwdApi = `${prefix}/change/pwd`
export const telegramBotApi = `${prefix}/telegram/bot`
export const testTelegramBotApi = (token: string) => `https://api.telegram.org/bot${token}/getMe`
export const checkAdminApi = `${prefix}/checkAdmin`
export const loginApi = `${prefix}/login`