mirror of
https://github.com/Tony0410/nextstep.git
synced 2026-05-24 21:31:43 +08:00
Fix Docker deployment and add Tailscale Funnel support
- Fix argon2 native module build in Docker (add build-essential, python3) - Switch Docker base image from Alpine to Debian-slim for OpenSSL compatibility - Fix session cookies for HTTP access (COOKIE_SECURE env var) - Fix TypeScript type errors in sync routes and middleware - Fix CSS circular dependency in globals.css - Fix Map iteration in rate-limit cleanup - Add createdAt field to LocalNote interface - Configure Tailscale Funnel on port 10000 - Update NEXT_PUBLIC_APP_URL for public funnel access - Add initial Prisma migration Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -66,7 +66,7 @@ export default function TodayPage() {
|
||||
if (medications && doseLogs) {
|
||||
const meds = medications.map((m) => ({
|
||||
...m,
|
||||
scheduleData: m.scheduleData as Medication['scheduleData'],
|
||||
scheduleData: m.scheduleData as unknown as Medication['scheduleData'],
|
||||
startDate: m.startDate ? new Date(m.startDate) : null,
|
||||
endDate: m.endDate ? new Date(m.endDate) : null,
|
||||
})) as Medication[]
|
||||
|
||||
Reference in New Issue
Block a user