fix(api): correct typo in comments regarding workspace API installation
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user