3d-to-photo/next.config.js

30 lines
761 B
JavaScript
Raw Normal View History

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",
},
],
},
// 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:;"
// }
// ],
// },
// ];
// },
};