7 Commits
Author SHA1 Message Date

2026-08-09

lezi-fun 96c3ac3bb9 Merge remote-tracking branch 'origin/main' into nextjs-migration 2026-08-09 21:03:38 +08:00
Furrium Network f0cf4b1738 Update config.js 2026-08-09 19:12:21 +08:00
Furrium Network b86ea0269e Update config.js 2026-08-09 19:11:35 +08:00
lezi-fun 281460fb03 feat: migrate to Next.js 14 (App Router + Route Handlers)
- Replace Express server with Next.js Route Handlers (16 API routes)
- Rewrite index.html SPA as React components (feed, post, admin, modals)
- Move style.css to app/globals.css with dark/light themes intact
- Add lib/db.js, lib/auth.js (JWT), lib/api.js (client API wrapper)
- Server binds 0.0.0.0 by default; host/port configurable via config.js
- Uploads served via /api/uploads route (rewrite keeps /uploads/ URLs)
- Multi-stage dockerfile using standalone output
2026-08-09 17:02:11 +08:00
lezi-fun 8e3aa558b0 Add source-build docs, optional SERVER_PORT config 2026-08-09 16:28:31 +08:00
Furrium Network 30014cc936 Update config.js
将BASEURL改为了相对路径
2026-08-09 12:30:08 +08:00
Furrium Network 57b9e987dc 第一次上传 2026-08-09 11:58:28 +08:00