添加跨域资源访问许可

This commit is contained in:
2025-08-02 11:54:39 +08:00
parent 0007f2ede9
commit 540f022338

View File

@@ -24,6 +24,10 @@ const nextConfig = {
protocol: "http",
hostname: "localhost",
},
{
protocol: "https",
hostname: "i.imgur.com",
},
{
protocol: "https",
hostname: "medusa-public-images.s3.eu-west-1.amazonaws.com",
@@ -32,6 +36,10 @@ const nextConfig = {
protocol: "https",
hostname: "medusa-server-testing.s3.amazonaws.com",
},
{
protocol: "https",
hostname: "mercur-connect.s3.eu-central-1.amazonaws.com",
},
{
protocol: "https",
hostname: "medusa-server-testing.s3.us-east-1.amazonaws.com",
@@ -41,3 +49,4 @@ const nextConfig = {
}
module.exports = nextConfig