videosphere
    Preparing search index...
    • Handles GET requests for this route.

      Parameters

      • req: NextRequest

        The incoming request object.

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<{ role: "admin" | "user" }>,
      >

      A response describing the request result.