Skip to content

Commit

Permalink
add *.blob.core.windows.net to remotePatterns
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed Jan 24, 2024
1 parent 28aa45c commit 0b3af95
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,27 @@ const nextConfig = {
loader: "default",
remotePatterns: [
{
protocol: 'http',
hostname: 'localhost',
protocol: "http",
hostname: "localhost",
},
{
protocol: 'https',
hostname: '*.paytrail.com',
protocol: "https",
hostname: "*.paytrail.com",
},
{
protocol: 'http',
hostname: 'cms',
}
protocol: "http",
hostname: "cms",
},
{
protocol: "https",
hostname: "*.blob.core.windows.net",
}, // TODO: if we ever need to use images from other external domains, add them here
],
},
eslint: {
dirs: ["middleware.ts", "app", "context", "components"],
},
output: "standalone",
}
};

module.exports = nextConfig;

0 comments on commit 0b3af95

Please sign in to comment.