fix: make about page dynamic to prevent build-time token key mismatch

The about page was statically pre-rendered at build time using the
Dockerfile's dummy IMMICH_API_KEY. The portrait image token was
encrypted with sha256('build-placeholder') but decrypted at runtime
with sha256(real-key) → 400 Bad Request.
This commit is contained in:
ralksta
2026-02-15 22:23:16 +01:00
parent ec9ad45475
commit f0d2d2e5ed

View File

@@ -11,6 +11,8 @@ import { imageUrl, assetPlaceholder } from '@/lib/urls';
import { immich } from '@/lib/immich'; import { immich } from '@/lib/immich';
import './about.css'; import './about.css';
export const dynamic = 'force-dynamic';
interface AboutFrontmatter { interface AboutFrontmatter {
portrait?: string; portrait?: string;
name?: string; name?: string;