You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the setupConvex function throws an error when provided a URL that does not end with ".convex.cloud":
exportconstsetupConvex=(url: string)=>{if(!url||typeofurl!=='string'){thrownewError('Expected string url property for setupConvex');}constclient=newConvexClient(url,{disabled: !BROWSER});setConvexClientContext(client);$effect(()=>()=>client.close());};
Error Message
The error encountered is:
Invalid deployment address: Must end with ".convex.cloud". Found "domain.com". If you believe this URL is correct, use the skipConvexDeploymentUrlCheck option to bypass this.
Proposed Change
To address this issue, I propose updating the setupConvex function to include skipConvexDeploymentUrlCheck or an optional parameter for ConvexClientOptions
The text was updated successfully, but these errors were encountered:
Currently, the
setupConvex
function throws an error when provided a URL that does not end with ".convex.cloud":Error Message
The error encountered is:
Proposed Change
To address this issue, I propose updating the setupConvex function to include skipConvexDeploymentUrlCheck or an optional parameter for ConvexClientOptions
The text was updated successfully, but these errors were encountered: