From c3cd20318afd1fb6ac767e557bf0ea302bc1b609 Mon Sep 17 00:00:00 2001 From: Anderson Date: Sat, 21 Mar 2026 08:26:59 +0000 Subject: [PATCH] add next.config.ts --- next.config.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 next.config.ts diff --git a/next.config.ts b/next.config.ts new file mode 100644 index 0000000..82551c7 --- /dev/null +++ b/next.config.ts @@ -0,0 +1,9 @@ +import type { NextConfig } from 'next'; + +const nextConfig: NextConfig = { + async headers() { + return [{ source: '/(.*)', headers: [{ key: 'X-Frame-Options', value: 'SAMEORIGIN' }] }]; + }, + images: { domains: ['img.youtube.com', 'i.ytimg.com'] }, +}; +export default nextConfig;