mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-10 23:34:38 +08:00
refactor: rename axios to got
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const axios = require('@/utils/axios');
|
||||
const got = require('@/utils/got');
|
||||
|
||||
const load = async (link, configs) => ({
|
||||
description: (await axios.get(link, configs)).data.article.content,
|
||||
description: (await got.get(link, configs)).data.article.content,
|
||||
});
|
||||
|
||||
const ProcessFeed = async (list, host, caches) => {
|
||||
|
||||
Reference in New Issue
Block a user