Skip to content

Commit d4eaf1a

Browse files
authored
fix: allow /img paths in maintenance mode (supabase#40701)
fix: allow /img paths on maintenance mode
1 parent 2023b26 commit d4eaf1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/studio/next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ const nextConfig = {
442442
...(process.env.MAINTENANCE_MODE === 'true'
443443
? [
444444
{
445-
source: '/((?!maintenance).*)', // Redirect all paths except /maintenance
445+
source: '/((?!maintenance|img).*)', // Redirect all paths except /maintenance and /img
446446
destination: '/maintenance',
447447
permanent: false,
448448
},

0 commit comments

Comments
 (0)