add next.config.ts
This commit is contained in:
parent
c2ca8b5415
commit
c3cd20318a
1 changed files with 9 additions and 0 deletions
9
next.config.ts
Normal file
9
next.config.ts
Normal 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;
|
||||
Loading…
Reference in a new issue