修复enka报错问题 (#443)

This commit is contained in:
SunRyK 2023-02-06 21:49:47 +08:00 committed by GitHub
parent c782bb0025
commit 1fbd2f449a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ export const enkaApi = {
url: 'https://enka.network/', url: 'https://enka.network/',
userAgent: 'Miao-Plugin/3.0', userAgent: 'Miao-Plugin/3.0',
listApi: ({ url, uid, diyCfg }) => { listApi: ({ url, uid, diyCfg }) => {
return api `${url}api/uid/${uid}/` return `${url}api/uid/${uid}/`
} }
} }