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
15 lines
422 B
TypeScript
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;
|