开源前加固认证与部署契约:加密随机 JWT、改密事务吊销、登录 CSRF,并禁止生产回落 localhost。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-23 02:07:34 +08:00
parent 6f054a903c
commit 3b550f2124
24 changed files with 372 additions and 355 deletions

View File

@@ -1,11 +1,7 @@
// 友情链接(站点级静态配置)。
// TODO: 替换为真实友链名称与地址;后续如需后台可配,可升级为接口/设置项。
// 友情链接(站点级静态配置)。无条目时侧栏不渲染该区块。
export interface FriendLink {
name: string;
href: string;
}
export const FRIEND_LINKS: FriendLink[] = [
{ name: "大佬论坛", href: "#" },
{ name: "Leo论坛", href: "#" },
];
export const FRIEND_LINKS: FriendLink[] = [];