feat(media): implement caching for chat media and update components to use cached media

This commit is contained in:
2026-06-30 15:59:33 +08:00
parent 78d8aae22e
commit ccd2d6bd48
15 changed files with 591 additions and 42 deletions
-15
View File
@@ -1,15 +0,0 @@
"use client";
/**
* 登出(NextAuth 流程触发器)
*
* 调用 `signOut()` 清除 NextAuth session cookie 并重定向。
* 不做任何持久化(不写 unstorage / 不调后端 / 不设自定义 cookie)。
*
*/
import { signOut } from "next-auth/react";
export class Logout {
async signOut(): Promise<void> {
await signOut();
}
}