This commit is contained in:
2023-10-21 20:58:04 +08:00
parent 50b435ba80
commit 57a9995792
8 changed files with 158 additions and 30 deletions

View File

@@ -1,13 +1,12 @@
import { ref } from 'vue'
const debugAPI = import.meta.env.VITE_DEBUG_API
const releseAPI = `${document.location.protocol}//api.vtsuru.live/`
const releseAPI = `${document.location.protocol}//api.vtsuru.live/api/`
export const isBackendUsable = ref(true)
export const BASE_API = process.env.NODE_ENV === 'development' ? debugAPI : releseAPI
export const FETCH_API = 'https://fetch.vtsuru.live/'
export const FIVESING_SEARCH_API = 'http://search.5sing.kugou.com/home/json?sort=1&page=1&filter=3&type=0&keyword='
export const TURNSTILE_KEY = '0x4AAAAAAAETUSAKbds019h0'