next修复CVE-2025-66478漏洞,编程代理改成claude

This commit is contained in:
2025-12-08 17:01:59 +08:00
parent c1fda9bb7e
commit 1349317f88
15 changed files with 34 additions and 78 deletions

View File

@@ -29,7 +29,7 @@ export function WelcomeDialog({ open, onOpenChange }: WelcomeDialogProps) {
<DialogTitle className="text-2xl"></DialogTitle>
</div>
<DialogDescription className="pt-4 text-base">
{/* 内容暂时没想好,先不实现 */}
Hair Keeper
</DialogDescription>
</DialogHeader>
<div className="flex justify-end gap-2 pt-4">

View File

@@ -13,7 +13,7 @@ export function getRedisClient() {
const redisPassword = process.env.REDIS_PASSWORD
redisClient = new Redis({
host: 'localhost',
host: process.env.REDIS_HOST || 'localhost',
port: parseInt(redisPort, 10),
password: redisPassword,
maxRetriesPerRequest: null, // BullMQ 推荐设置