diff --git a/hugo.toml b/hugo.toml index 8b8d7a7f..90f65b1a 100644 --- a/hugo.toml +++ b/hugo.toml @@ -183,8 +183,8 @@ hasCJKLanguage = true # ---------------------------------------------------------------------------- [params.artalk] # 评论后端:Cloudflare Workers + D1 自建(artalk-cf) - # 2026-10-02 从朋友机器 https://artalk.usj.cc 迁过来 - server = "https://artalk.200181.xyz" + # 2026-10-03 评论与 RSS 订阅合并为同一 Worker,统一走 api.200181.xyz + server = "https://api.200181.xyz" site = "优世界" ai_badge = "AI" # 自定义 AI 评论标识 emoticons = "/emotion/OwO.json" diff --git a/write-server/src/lib/config.ts b/write-server/src/lib/config.ts index c081e2be..4d1f5871 100644 --- a/write-server/src/lib/config.ts +++ b/write-server/src/lib/config.ts @@ -11,7 +11,7 @@ export const STATIC_DIR = path.join(BLOG_ROOT, "static"); export const RECYCLE_DIR = path.join(process.cwd(), "recycle"); export const RECYCLE_POSTS_DIR = path.join(RECYCLE_DIR, "posts"); export const RECYCLE_META_DIR = path.join(RECYCLE_DIR, "meta"); -export const ARTALK_SERVER = process.env.ARTALK_SERVER || "https://artalk.200181.xyz"; +export const ARTALK_SERVER = process.env.ARTALK_SERVER || "https://api.200181.xyz"; export const ARTALK_SITE = process.env.ARTALK_SITE || "优世界"; export const ARTALK_ADMIN_EMAIL = process.env.ARTALK_ADMIN_EMAIL || ""; export const ARTALK_ADMIN_PASSWORD = process.env.ARTALK_ADMIN_PASSWORD || "";