mirror of
https://github.com/ZeroCatDev/ClassworksKVAdmin.git
synced 2026-02-03 23:13:10 +00:00
fix: 更新应用信息 API 地址,修正为新的服务域名
This commit is contained in:
parent
165e7560e0
commit
0432bf0df0
@ -55,7 +55,7 @@ const renderedReadme = computed(() => {
|
||||
// 获取应用信息
|
||||
const fetchApp = async () => {
|
||||
try {
|
||||
const response = await fetch(`https://zerocat-api.houlangs.com/oauth/applications/${props.appId}`);
|
||||
const response = await fetch(`https://zerocat-api.houlang.cloud/oauth/applications/${props.appId}`);
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to fetch app info: ${response.status}`);
|
||||
|
||||
@ -123,7 +123,7 @@ const loadTokens = async () => {
|
||||
for (const token of tokens.value) {
|
||||
if (!appInfoCache.value[token.appId]) {
|
||||
try {
|
||||
const appResponse = await fetch(`https://zerocat-api.houlangs.com/oauth/applications/${token.appId}`)
|
||||
const appResponse = await fetch(`https://zerocat-api.houlang.cloud/oauth/applications/${token.appId}`)
|
||||
if (appResponse.ok) {
|
||||
appInfoCache.value[token.appId] = await appResponse.json()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user