Merge pull request #9 from pleymor/bugfix/crash-at-image-generation

🐛 Add remotePattern on replicate.delivery in next.config.js
This commit is contained in:
Neil Mathew 2024-01-10 14:46:48 -05:00 committed by GitHub
commit fc89e9daf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -10,6 +10,11 @@ module.exports = {
protocol: "https",
hostname: "pbxt.replicate.delivery",
},
{
protocol: "https",
hostname: "replicate.delivery",
pathname: '/pbxt/**',
},
],
},
// async headers() {
@ -21,7 +26,6 @@ module.exports = {
// 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:;"
// }
// ],
// },
// ];