fix: add google to the remote patterns

This commit is contained in:
Henry
2025-06-05 12:58:01 +01:00
parent 1b2389d618
commit 808d23bd15
3 changed files with 12 additions and 3 deletions

View File

@@ -26,7 +26,16 @@ const config = {
typescript: { ignoreBuildErrors: true },
images: {
domains: [env("NEXT_PUBLIC_STORAGE_DOMAIN") ?? ""],
remotePatterns: [
{
protocol: "https",
hostname: `*.${env("NEXT_PUBLIC_STORAGE_DOMAIN")}`,
},
{
protocol: "https",
hostname: "*.googleusercontent.com",
},
],
},
experimental: {
instrumentationHook: true,