From f8f63d1ddd64d9ef783982f37db37dd3eb3ae301 Mon Sep 17 00:00:00 2001 From: SunWuyuan Date: Tue, 7 Oct 2025 15:08:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0OAuth=E6=8F=90=E4=BE=9B?= =?UTF-8?q?=E8=80=85=E5=92=8C=E7=94=A8=E6=88=B7=E8=B5=84=E6=96=99=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E7=BD=91=E7=AB=99=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/accounts.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/accounts.js b/routes/accounts.js index 8fc7a74..71df6b3 100644 --- a/routes/accounts.js +++ b/routes/accounts.js @@ -58,6 +58,7 @@ router.get("/oauth/providers", (req, res) => { description: config.description, order: typeof config.order === 'number' ? config.order : 9999, authUrl: `/accounts/oauth/${key}`, // 前端用于发起认证的URL + website: config.website, }); } } @@ -399,6 +400,7 @@ router.get("/profile", jwtAuth, async (req, res, next) => { textColor: pconf.textColor || "#ffffff", description: pconf.description, order: typeof pconf.order === 'number' ? pconf.order : undefined, + website: pconf.website, }; res.json({