Derives Content Agent configuration from a Sanity client and workspace name. Builds a CORS-compatible baseURL and an application targeting the workspace.
baseURL
application
A Sanity client instance. Any @sanity/client instance works.
@sanity/client
The active workspace name (e.g. 'default').
'default'
Derives Content Agent configuration from a Sanity client and workspace name. Builds a CORS-compatible
baseURLand anapplicationtargeting the workspace.