Commit Graph

9 Commits

Author SHA1 Message Date
2569718930@qq.com 20c8395c0b 全局配置更新:OAuth 回调修复、支付安全加固、站点 URL 工具
- 新增 NEXT_PUBLIC_SITE_URL 支持及 site-url.ts 工具模块
- 修复 OAuth 回调域名:import.meta.env 统一读取站点 URL
- 支付 API 路由新增收款地址校验
- 后端支付服务更新
- middleware 清理
- 新增 paymentSecurity 测试
2026-05-24 18:33:47 +08:00
2569718930@qq.com 40f231b76d 优化 Vercel Fluid CPU:API加CDN缓存、缩小middleware范围、跳过公共API的Supabase身份转发
- 7条GET路由加 s-maxage + stale-while-revalidate,fetch 改为 next revalidate
- middleware matcher 从全匹配缩小到9条需auth的路径,移除 isStaticAsset
- 8条公共API路由加 includeSupabaseIdentity: false
- backend-auth getSession 为空时跳过 getUser
- subscription-help 加 I18nProvider,移除 force-dynamic → 静态预渲染
- next.config.mjs 加静态资源 immutable 缓存头

Tested: npx tsc --noEmit 通过,npm run build 通过
2026-05-13 14:23:04 +08:00
2569718930@qq.com 62298eaf38 Harden auth profile fallback for slow backend responses 2026-04-15 22:40:01 +08:00
2569718930@qq.com 08d7308486 Gate analytics and cache public API requests 2026-04-06 13:58:11 +08:00
2569718930@qq.com 7510e0a1e0 feat: implement user account center with authentication, subscription management, and EVM wallet integration. 2026-03-17 14:32:15 +08:00
2569718930@qq.com 5b7a257087 feat: Implement Supabase-backed authentication and entitlement checks for frontend-to-backend requests. 2026-03-13 11:01:44 +08:00
2569718930@qq.com 25f11912dd feat: Add backend authentication utilities for constructing request headers with entitlement and user session tokens, and for applying auth response cookies. 2026-03-13 10:44:11 +08:00
2569718930@qq.com 0a869459c4 feat: Implement Supabase authentication, account management UI, and entitlement services. 2026-03-13 02:23:01 +08:00
2569718930@qq.com af4bee12f5 feat: Introduce a web frontend with new city API routes and refactor bot city query logic into a dedicated service. 2026-03-11 08:46:32 +08:00