From 68e1c099ecc2d48c33dc37449fa915f086e76284 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:11 +0800 Subject: [PATCH] Update gallery.js --- lib/routes/furaffinity/gallery.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/routes/furaffinity/gallery.js b/lib/routes/furaffinity/gallery.js index 73869cdc7c..c924bab54f 100644 --- a/lib/routes/furaffinity/gallery.js +++ b/lib/routes/furaffinity/gallery.js @@ -1,7 +1,6 @@ const got = require('@/utils/got'); const cheerio = require('cheerio'); -// 发起 HTTP GET 请求 module.exports = async (ctx) => { // 传入参数 const nsfw = String(ctx.params.nsfw); @@ -12,7 +11,7 @@ module.exports = async (ctx) => { if (nsfw === '1') { url = `https://faexport.spangle.org.uk/user/${username}/gallery.rss`; } - + // 发起 HTTP GET 请求 const response = await got({ method: 'get', url: url,