mirror of
https://github.com/foxhui/WebAI2API.git
synced 2026-06-16 21:03:59 +08:00
fix: 更新 LMArena 域名为 arena.ai
lmarena.ai 已迁移至 arena.ai,虽然旧域名仍可跳转, 但偶尔会跳转失败导致请求中断。
This commit is contained in:
@@ -19,7 +19,7 @@ import {
|
||||
import { logger } from '../../utils/logger.js';
|
||||
|
||||
// --- 配置常量 ---
|
||||
const TARGET_URL = 'https://lmarena.ai/c/new?mode=direct&chat-modality=image';
|
||||
const TARGET_URL = 'https://arena.ai/image/direct';
|
||||
|
||||
/**
|
||||
* 从响应文本中提取图片 URL
|
||||
|
||||
@@ -18,8 +18,8 @@ import {
|
||||
import { logger } from '../../utils/logger.js';
|
||||
|
||||
// --- 配置常量 ---
|
||||
const TARGET_URL = 'https://lmarena.ai/c/new?mode=direct&chat-modality=chat';
|
||||
const TARGET_URL_SEARCH = 'https://lmarena.ai/zh/c/new?mode=direct&chat-modality=search';
|
||||
const TARGET_URL = 'https://arena.ai/text/direct';
|
||||
const TARGET_URL_SEARCH = 'https://arena.ai/search/direct';
|
||||
|
||||
/**
|
||||
* 执行生图任务
|
||||
|
||||
Reference in New Issue
Block a user