mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
重构多个组件以优化代码格式和可读性,删除不必要的文件,更新类型定义,添加数据分析路由
This commit is contained in:
@@ -9,6 +9,7 @@ const releseAPI = `https://vtsuru.suki.club/`
|
||||
const failoverAPI = `https://failover-api.vtsuru.suki.club/`
|
||||
|
||||
export const isBackendUsable = ref(true)
|
||||
export const isDev = import.meta.env.MODE === 'development'
|
||||
|
||||
export const AVATAR_URL = 'https://workers.vrp.moe/api/bilibili/avatar/'
|
||||
export const FILE_BASE_URL = 'https://files.vtsuru.live'
|
||||
@@ -58,6 +59,7 @@ export const POINT_API_URL = BASE_API_URL + 'point/'
|
||||
export const BILI_AUTH_API_URL = BASE_API_URL + 'bili-auth/'
|
||||
export const FORUM_API_URL = BASE_API_URL + 'forum/'
|
||||
export const USER_INDEX_API_URL = BASE_API_URL + 'user-index/'
|
||||
export const ANALYZE_API_URL = BASE_API_URL + 'analyze/'
|
||||
|
||||
export const ScheduleTemplateMap = {
|
||||
'': {
|
||||
|
||||
Reference in New Issue
Block a user