30 lines
761 B
JavaScript
30 lines
761 B
JavaScript
module.exports = {
|
|
reactStrictMode: false,
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "replicate.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "pbxt.replicate.delivery",
|
|
},
|
|
],
|
|
},
|
|
// async headers() {
|
|
// return [
|
|
// {
|
|
// source: '/(.*)',
|
|
// headers: [
|
|
// {
|
|
// key: 'Content-Security-Policy',
|
|
// value: "default-src 'self'; img-src 'self' blob: https://replicate.com https://pbxt.replicate.delivery; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; worker-src 'self' blob:; connect-src 'self' blob:;"
|
|
// }
|
|
|
|
// ],
|
|
// },
|
|
// ];
|
|
// },
|
|
};
|