We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a060cee commit 5b58087Copy full SHA for 5b58087
apps/webapp/app/services/clickhouseInstance.server.ts
@@ -10,10 +10,15 @@ function initializeClickhouseClient() {
10
return;
11
}
12
13
- console.log("🗃️ Clickhouse service enabled");
+ const url = new URL(env.CLICKHOUSE_URL);
14
+
15
+ // Remove secure param
16
+ url.searchParams.delete("secure");
17
18
+ console.log(`🗃️ Clickhouse service enabled to host ${url.host}`);
19
20
const clickhouse = new ClickHouse({
- url: env.CLICKHOUSE_URL,
21
+ url: url.toString(),
22
name: "clickhouse-instance",
23
keepAlive: {
24
enabled: env.CLICKHOUSE_KEEP_ALIVE_ENABLED === "1",
0 commit comments