mirror of
https://github.com/ZeroCatDev/ClassworksKVAdmin.git
synced 2026-02-04 15:33:10 +00:00
Compare commits
No commits in common. "0432bf0df0a5b9e59e4985fabbda944de2fc3efe" and "5fd99c2121abb3c01abfa030f5860077fc0ffb9a" have entirely different histories.
0432bf0df0
...
5fd99c2121
@ -1,2 +1,2 @@
|
|||||||
VITE_ASSETS_URL=https://zerocat-bitiful.houlangs.com
|
VITE_ASSETS_URL=https://zerocat-bitiful.houlangs.com
|
||||||
VITE_API_BASE_URL=https://kv-service.houlang.cloud
|
VITE_API_BASE_URL=https://kv.wuyuan.dev
|
||||||
@ -55,7 +55,7 @@ const renderedReadme = computed(() => {
|
|||||||
// 获取应用信息
|
// 获取应用信息
|
||||||
const fetchApp = async () => {
|
const fetchApp = async () => {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(`https://zerocat-api.houlang.cloud/oauth/applications/${props.appId}`);
|
const response = await fetch(`https://zerocat-api.houlangs.com/oauth/applications/${props.appId}`);
|
||||||
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
throw new Error(`Failed to fetch app info: ${response.status}`);
|
throw new Error(`Failed to fetch app info: ${response.status}`);
|
||||||
|
|||||||
@ -123,7 +123,7 @@ const loadTokens = async () => {
|
|||||||
for (const token of tokens.value) {
|
for (const token of tokens.value) {
|
||||||
if (!appInfoCache.value[token.appId]) {
|
if (!appInfoCache.value[token.appId]) {
|
||||||
try {
|
try {
|
||||||
const appResponse = await fetch(`https://zerocat-api.houlang.cloud/oauth/applications/${token.appId}`)
|
const appResponse = await fetch(`https://zerocat-api.houlangs.com/oauth/applications/${token.appId}`)
|
||||||
if (appResponse.ok) {
|
if (appResponse.ok) {
|
||||||
appInfoCache.value[token.appId] = await appResponse.json()
|
appInfoCache.value[token.appId] = await appResponse.json()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user