🐛 Add remotePattern on replicate.delivery in next.config.js
Fixes image not displayed with REPLICATE_API_TOKEN created on replicate.com
This commit is contained in:
parent
3899993261
commit
7bd3d2c7ac
|
@ -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:;"
|
||||
// }
|
||||
|
||||
// ],
|
||||
// },
|
||||
// ];
|
||||
|
|
Loading…
Reference in New Issue