-
Notifications
You must be signed in to change notification settings - Fork 1
/
next.config.js
31 lines (30 loc) · 953 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: [
'd33wubrfki0l68.cloudfront.net',
'blueskytechmage.com',
'upload-image-shoppingcart.s3.ap-southeast-1.amazonaws.com',
'loremflickr.com',
],
},
async headers() {
return [
{
// Set the CSP header to allow only the same origin to embed our website in an iframe or a frame.
source: '/',
headers: [
{
key: 'Content-Security-Policy',
value: 'frame-ancestors https://www.facebook.com',
},
{
key: 'Access-Control-Allow-Origin',
value: '*',
},
],
},
];
},
};
module.exports = nextConfig;