Files
sorsfonalak/services/frontend/next.config.ts
T
fecoandClaude Opus 5.5 2b7866d4c5
CI / test (push) Successful in 1m28s
CI / build (push) Successful in 5m13s
CI / deploy (push) Skipped
Home page link preview image
Shared on Facebook and co., the home page had no image. It now has a
1200x630 preview drawn from the example chart ('Ahol a csillagok
összekötnek.', the three features), with og:/twitter: tags and a version
in the link. The image code is shared with the shared-chart previews
(lib/ogCard.tsx).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-19 11:39:32 +00:00

15 lines
422 B
TypeScript

import type { NextConfig } from "next";
const config: NextConfig = {
// Small self-contained server for the container image.
output: "standalone",
poweredByHeader: false,
// The fonts of the share preview images are read from disk at run time.
outputFileTracingIncludes: {
"/s/[slug]/kep/[file]": ["./src/assets/og/*.ttf"],
"/kep/fooldal.png": ["./src/assets/og/*.ttf"],
},
};
export default config;