Skip to content

Commit

Permalink
Merge branch 'main' into feature/identity_deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Dec 18, 2024
2 parents 7d1a8ae + 2cac8bb commit a377061
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/CreateConnectorConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,10 @@ function validateConnectorConfig(connectorConfig: ConnectorRuntimeConfig): void
}
throw new Error(errorMessage);
}

if (!connectorConfig.transportLibrary.baseUrl.startsWith("http://") && !connectorConfig.transportLibrary.baseUrl.startsWith("https://")) {
// eslint-disable-next-line no-console
console.error("The 'transportLibrary.baseUrl' must either start with 'http://' or 'https://'.");
process.exit(1);
}
}

0 comments on commit a377061

Please sign in to comment.