The edge middleware resolved the workspace by calling the SaaS landlord at /api/saas/workspaces/by-subdomain/<sub>, but the landlord serves that route under /api/v1/saas/... (the garage backend already calls it with /v1). The missing version segment returned 404, so no workspace_uuid/api_base_url cookies were set and the proxy responded "Workspace session not found", blocking email/password login on a cold visit to <sub>.reparee.com/login. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Next.js template
This is a Next.js template with shadcn/ui.
Adding components
To add components to your app, run the following command:
npx shadcn@latest add button
This will place the ui components in the components directory.
Using components
To use the components in your app, import them as follows:
import { Button } from "@/components/ui/button";