mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-25 09:27:34 +00:00
fix: 面板服务MiniGG-Api与Hutao-Enka请求返回404
This commit is contained in:
parent
f63ee31d98
commit
35c7d8ebf8
@ -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}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user