Member Junction
    Preparing search index...
    • Returns an error message when rootPath is unsafe to mount pre-auth, or null when it is usable. Fail closed: invalid paths must not be mounted.

      Reserved matching is case-insensitive (Express does not set case sensitive routing) and bidirectional: claiming a parent of a reserved prefix (/telephony vs /telephony/twilio) is also a collision because Express prefix-matches the parent.

      extraReservedRoots is the running server's actual mounts (graphqlRootPath, widget, …) so this check cannot drift from serve(). Discovery-time normalize uses only the static baseline; prepareServerExtensionConfigs passes the extras.

      Parameters

      • rootPath: string
      • OptionalextraReservedRoots: readonly string[]

      Returns string | null