Skip to content

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

fix: allow /img paths in maintenance mode (#40701)

Alaister Youngd4eaf1a599b8
diff --git a/apps/studio/next.config.js b/apps/studio/next.config.js
index 2177d91b3a9..8fd06b57628 100644
--- a/apps/studio/next.config.js
+++ b/apps/studio/next.config.js
@@ -442,7 +442,7 @@ const nextConfig = {
...(process.env.MAINTENANCE_MODE === 'true'
? [
{
- source: '/((?!maintenance).*)', // Redirect all paths except /maintenance
+ source: '/((?!maintenance|img).*)', // Redirect all paths except /maintenance and /img
destination: '/maintenance',
permanent: false,
},