diff --git a/www/apps/docs/content/plugins/file-service/local.md b/www/apps/docs/content/plugins/file-service/local.md index b661dcce30ff4..cf8b1dc153476 100644 --- a/www/apps/docs/content/plugins/file-service/local.md +++ b/www/apps/docs/content/plugins/file-service/local.md @@ -87,10 +87,14 @@ const { withStoreConfig } = require("./store-config") module.exports = withStoreConfig({ // ... - images: { - domains: [ + images: { + remotePatterns: [ + // ... + { + protocol: "http", // or https + hostname:"", + }, // ... - "", ], }, }) diff --git a/www/apps/docs/content/plugins/file-service/minio.md b/www/apps/docs/content/plugins/file-service/minio.md index c9f5c803119c0..86ddece907fa0 100644 --- a/www/apps/docs/content/plugins/file-service/minio.md +++ b/www/apps/docs/content/plugins/file-service/minio.md @@ -209,11 +209,16 @@ const { withStoreConfig } = require("./store-config") module.exports = withStoreConfig({ // ... images: { - domains: [ + remotePatterns: [ + // ... + { + protocol: "http", + hostname: "127.0.0.1", + }, // ... - "127.0.0.1", ], }, + }) ``` diff --git a/www/apps/docs/content/plugins/file-service/s3.mdx b/www/apps/docs/content/plugins/file-service/s3.mdx index 10682b1709f5e..ae33588c4bff1 100644 --- a/www/apps/docs/content/plugins/file-service/s3.mdx +++ b/www/apps/docs/content/plugins/file-service/s3.mdx @@ -220,9 +220,13 @@ const { withStoreConfig } = require("./store-config") module.exports = withStoreConfig({ // ... images: { - domains: [ + remotePatterns: [ + // ... + { + protocol: "https", + hostname:".s3..amazonaws.com", + }, // ... - ".s3..amazonaws.com", ], }, }) diff --git a/www/apps/docs/content/plugins/file-service/spaces.md b/www/apps/docs/content/plugins/file-service/spaces.md index d8af54b741d3d..70b62ebb029f4 100644 --- a/www/apps/docs/content/plugins/file-service/spaces.md +++ b/www/apps/docs/content/plugins/file-service/spaces.md @@ -150,10 +150,14 @@ const { withStoreConfig } = require("./store-config") module.exports = withStoreConfig({ // ... - images: { - domains: [ + images: { + remotePatterns: [ + // ... + { + protocol: "https", + hostname:"", + }, // ... - "", ], }, })