The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(studio): cache favicon (#33372)
Alaister Younga6c8165abf84
diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjsindex b4572b5640f..18267dfd271 100644--- a/apps/docs/next.config.mjs+++ b/apps/docs/next.config.mjs@@ -115,6 +115,10 @@ const nextConfig = {},],},+ {+ source: '/favicon/:slug*',+ headers: [{ key: 'cache-control', value: 'public, max-age=86400' }],+ },]},diff --git a/apps/studio/next.config.js b/apps/studio/next.config.jsindex c20e9860915..a0b80c406bb 100644--- a/apps/studio/next.config.js+++ b/apps/studio/next.config.js@@ -506,11 +506,19 @@ const nextConfig = {},{source: '/img/:slug*',- headers: [{ key: 'cache-control', value: 'max-age=2592000' }],+ headers: [{ key: 'cache-control', value: 'public, max-age=2592000' }],+ },+ {+ source: '/css/fonts.css',+ headers: [{ key: 'cache-control', value: 'public, max-age=86400' }],},{source: '/fonts/:slug*',- headers: [{ key: 'cache-control', value: 'max-age=2592000' }],+ headers: [{ key: 'cache-control', value: 'public, max-age=2592000' }],+ },+ {+ source: '/favicon/:slug*',+ headers: [{ key: 'cache-control', value: 'public, max-age=86400' }],},]},diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjsindex d39ad2b0fba..64cd7f84bfd 100644--- a/apps/www/next.config.mjs+++ b/apps/www/next.config.mjs@@ -80,6 +80,10 @@ const nextConfig = {},],},+ {+ source: '/favicon/:slug*',+ headers: [{ key: 'cache-control', value: 'public, max-age=86400' }],+ },]},async rewrites() {