Files
me-web/contracts/constants.ts
T
Superuser ff98547dbb init: me-web 个人简历前端
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-18 20:10:54 +08:00

14 lines
296 B
TypeScript

export const Session = {
cookieName: "admin_sid",
maxAgeMs: 365 * 24 * 60 * 60 * 1000,
} as const;
export const ErrorMessages = {
unauthenticated: "Authentication required",
insufficientRole: "Insufficient permissions",
} as const;
export const Paths = {
login: "/login",
} as const;