add next.config.ts

This commit is contained in:
Anderson 2026-03-21 08:26:59 +00:00
parent c2ca8b5415
commit c3cd20318a

9
next.config.ts Normal file
View file

@ -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;