From b7955d0d6e9d3dd7dd126bfcbf9a8b3912790ee8 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Fri, 15 Aug 2025 19:14:29 +0800 Subject: [PATCH] fix(threads/utils): update URLs to use the correct domain for Threads --- lib/routes/threads/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/threads/utils.ts b/lib/routes/threads/utils.ts index f121fbf46..1909a6251 100644 --- a/lib/routes/threads/utils.ts +++ b/lib/routes/threads/utils.ts @@ -6,8 +6,8 @@ import ofetch from '@/utils/ofetch'; import { JSDOM } from 'jsdom'; import { JSONPath } from 'jsonpath-plus'; -const profileUrl = (user: string) => `https://www.threads.net/@${user}`; -const threadUrl = (code: string) => `https://www.threads.net/t/${code}`; +const profileUrl = (user: string) => `https://www.threads.com/@${user}`; +const threadUrl = (code: string) => `https://www.threads.com/t/${code}`; const USER_AGENT = 'Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1';