docs: s3 The "images.domains" configuration is deprecated (#6321)

This commit is contained in:
xyzones authored and GitHub committed 2024-02-06 09:57:52 +00:00
1 parent 882aa549bd
commit 5cabe9585f
4 files changed
+25 -8

No files matched your search

@@ -88,9 +88,13 @@ const { withStoreConfig } = require("./store-config")
module.exports = withStoreConfig({
// ...
images: {
domains: [
remotePatterns: [
// ...
{
protocol: "http", // or https
hostname:"<BACKEND_URL>",
},
// ...
"<BACKEND_URL>",
],
},
})
@@ -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",
],
},
})
```
@@ -220,9 +220,13 @@ const { withStoreConfig } = require("./store-config")
module.exports = withStoreConfig({
// ...
images: {
domains: [
remotePatterns: [
// ...
{
protocol: "https",
hostname:"<BUCKET_NAME>.s3.<REGION>.amazonaws.com",
},
// ...
"<BUCKET_NAME>.s3.<REGION>.amazonaws.com",
],
},
})
@@ -151,9 +151,13 @@ const { withStoreConfig } = require("./store-config")
module.exports = withStoreConfig({
// ...
images: {
domains: [
remotePatterns: [
// ...
{
protocol: "https",
hostname:"<YOUR_SPACE_URL>",
},
// ...
"<YOUR_SPACE_URL>",
],
},
})