From 2cb67635a668a381bb3ce618b4034f8400784394 Mon Sep 17 00:00:00 2001 From: seaHi Date: Tue, 20 Jan 2026 11:42:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=BA=20GoToSocial=20API=20?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=B7=BB=E5=8A=A0=20User-Agent=20=E6=A0=87?= =?UTF-8?q?=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/worker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/worker.js b/src/worker.js index bc83c88..541f588 100644 --- a/src/worker.js +++ b/src/worker.js @@ -186,6 +186,7 @@ async function sendToGoToSocial(message, env) { headers: { Authorization: `Bearer ${token}`, "Content-Type": "application/json", + "User-Agent": "wps-gotosocial-bot/1.0", }, body: JSON.stringify({ status: message,