diff --git a/config/system/profile_system.js b/config/system/profile_system.js index 9a4c0ca5..a977166d 100644 --- a/config/system/profile_system.js +++ b/config/system/profile_system.js @@ -25,11 +25,7 @@ export const enkaApi = { url: 'https://enka.network/', userAgent: 'Miao-Plugin/3.0', listApi: ({ url, uid, diyCfg }) => { - let api = `${url}u/${uid}/__data.json` - if (diyCfg?.apiKey) { - api += '?key=' + diyCfg.apiKey - } - return api + return api `${url}api/uid/${uid}/` } }