fix(api): correct typo in comments regarding workspace API installation

This commit is contained in:
Najjar\NajjarV02 2026-05-22 11:38:21 +04:00
parent 6d6059330a
commit a888157d33
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import { getAuthCookies, getWorkspaceContext } from "@/modules/auth/auth.actions
* Returns an authenticated API client for server-side use (server actions, RSC).
*
* Server-side calls bypass the /api/proxy route the server already has
* cookie access and can talk to the workspace's repareenew install directly.
* cookie access and can talk to the workspace's api install directly.
* Browser-side code should use the singleton `api` from @garage/api, which
* defaults to baseUrl="/api/proxy" and gets workspace context from cookies
* via the proxy route.

View File

@ -68,7 +68,7 @@ export type CreateApiOptions = ApiClientOptions & { baseUrl?: string }
* the build-time NEXT_PUBLIC_API_URL never reaches the client.
*
* Server-side callers (server actions, RSC) can opt out by passing
* `{ baseUrl: <absolute repareenew URL> }` from a cookie.
* `{ baseUrl: <absolute api URL> }` from a cookie.
*/
const DEFAULT_BASE_URL = "/api/proxy"