Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: external svg scripts (#36905)

Stephen Morgan8756deb3b18f
diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjs
index cbea04fe398..ad41748131f 100644
--- a/apps/docs/next.config.mjs
+++ b/apps/docs/next.config.mjs
@@ -30,7 +30,7 @@ const nextConfig = {
// swcMinify: true,
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '/docs',
images: {
- dangerouslyAllowSVG: true,
+ dangerouslyAllowSVG: false,
// @ts-ignore
remotePatterns,
},
diff --git a/apps/studio/next.config.js b/apps/studio/next.config.js
index 3803368a573..758d6f7f0c1 100644
--- a/apps/studio/next.config.js
+++ b/apps/studio/next.config.js
@@ -446,7 +446,7 @@ const nextConfig = {
},
images: {
// to make Vercel avatars work without issue. Vercel uses SVGs for users who don't have set avatars.
- dangerouslyAllowSVG: true,
+ dangerouslyAllowSVG: false,
remotePatterns: [
{
protocol: 'https',
diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjs
index 95b040c7dd3..a04689a8a98 100644
--- a/apps/www/next.config.mjs
+++ b/apps/www/next.config.mjs
@@ -61,7 +61,7 @@ const nextConfig = {
},
reactStrictMode: true,
images: {
- dangerouslyAllowSVG: true,
+ dangerouslyAllowSVG: false,
remotePatterns,
},
async headers() {