2023-10-12 13:27:51 -05:00
|
|
|
module.exports = {
|
2023-10-13 09:42:54 -05:00
|
|
|
reactStrictMode: false,
|
2023-10-12 13:27:51 -05:00
|
|
|
images: {
|
|
|
|
remotePatterns: [
|
|
|
|
{
|
|
|
|
protocol: "https",
|
|
|
|
hostname: "replicate.com",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
protocol: "https",
|
|
|
|
hostname: "pbxt.replicate.delivery",
|
|
|
|
},
|
2023-11-28 13:25:13 -06:00
|
|
|
{
|
|
|
|
protocol: "https",
|
|
|
|
hostname: "replicate.delivery",
|
|
|
|
pathname: '/pbxt/**',
|
|
|
|
},
|
2023-10-12 13:27:51 -05:00
|
|
|
],
|
|
|
|
},
|
|
|
|
// 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:;"
|
|
|
|
// }
|
|
|
|
// ],
|
|
|
|
// },
|
|
|
|
// ];
|
|
|
|
// },
|
|
|
|
};
|