Home / Function/ nextConfig.redirects() — supabase Function Reference

nextConfig.redirects() — supabase Function Reference

Architecture documentation for the nextConfig.redirects() function in next.config.mjs from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/design-system/next.config.mjs lines 25–38

  async redirects() {
    return [
      ...(BASE_PATH.length
        ? [
          {
            source: '/',
            destination: BASE_PATH,
            basePath: false,
            permanent: false,
          },
        ]
        : []),
    ]
  },

Domain

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free