Skip to content

Commit f3b959a

Browse files
emmaling27Convex, Inc.
authored and
Convex, Inc.
committed
Add insert workload that doesn't use search indexes (#24233)
GitOrigin-RevId: d8331bfa1595a8cdbb27885c8aac88b0452373eb
1 parent 83e9b69 commit f3b959a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

npm-packages/convex/src/common/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ export function validateDeploymentUrl(deploymentUrl: string) {
4949
return;
5050
}
5151

52-
if (!deploymentUrl.endsWith(".convex.cloud")) {
52+
if (
53+
!deploymentUrl.endsWith(".convex.cloud") &&
54+
!deploymentUrl.includes("0.0.0.0")
55+
) {
5356
throw new Error(
5457
`Invalid deployment address: Must end with ".convex.cloud". Found "${deploymentUrl}".`,
5558
);

0 commit comments

Comments
 (0)