mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-16 07:44:44 +08:00
Update home.js
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
const got = require('@/utils/got');
|
||||
|
||||
// 发起 HTTP GET 请求
|
||||
module.exports = async (ctx) => {
|
||||
// 传入参数
|
||||
const type = String(ctx.params.type);
|
||||
@@ -12,6 +11,7 @@ module.exports = async (ctx) => {
|
||||
url = 'https://faexport.spangle.org.uk/home.json';
|
||||
}
|
||||
|
||||
// 发起 HTTP GET 请求
|
||||
const response = await got({
|
||||
method: 'get',
|
||||
url: url,
|
||||
|
||||
Reference in New Issue
Block a user