mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 14:38:30 +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/',
|
||||
userAgent: 'Miao-Plugin/3.1',
|
||||
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/',
|
||||
userAgent: 'Snap Hutao/miao',
|
||||
listApi: ({ url, uid, diyCfg }) => {
|
||||
return `${url}/${uid}/`
|
||||
return `${url}/${uid}`
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user