fix: 面板服务MiniGG-Api与Hutao-Enka请求返回404

This commit is contained in:
其实雨很好 2024-08-31 07:55:39 +08:00 committed by 时雨◎星空
parent f63ee31d98
commit 35c7d8ebf8

View File

@ -24,7 +24,7 @@ export const mggApi = {
url: 'http://profile.microgg.cn/', url: 'http://profile.microgg.cn/',
userAgent: 'Miao-Plugin/3.1', userAgent: 'Miao-Plugin/3.1',
listApi: ({ url, uid, diyCfg }) => { listApi: ({ url, uid, diyCfg }) => {
return `${url}api/uid/${uid}/` return `${url}api/uid/${uid}`
} }
} }
@ -32,7 +32,7 @@ export const hutaoApi = {
url: 'http://enka-api.hut.ao/', url: 'http://enka-api.hut.ao/',
userAgent: 'Snap Hutao/miao', userAgent: 'Snap Hutao/miao',
listApi: ({ url, uid, diyCfg }) => { listApi: ({ url, uid, diyCfg }) => {
return `${url}/${uid}/` return `${url}/${uid}`
} }
} }