From 98df8529692bc692138cf35c71f89cfbb2743356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=99=8E=E6=95=85=E6=B4=9E?= <55782476+TigerCubDen@users.noreply.github.com> Date: Mon, 15 Feb 2021 21:28:45 +0800 Subject: [PATCH] Update home.js --- lib/routes/furaffinity/home.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/furaffinity/home.js b/lib/routes/furaffinity/home.js index e1815b2a29..af439384a3 100644 --- a/lib/routes/furaffinity/home.js +++ b/lib/routes/furaffinity/home.js @@ -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,