fix clickhouse constructor

This commit is contained in:
ajvpot
2025-09-11 18:29:27 +02:00
parent 1dd6781113
commit 2afbe80c1b

View File

@@ -6,7 +6,7 @@ const user = process.env.CLICKHOUSE_USER || 'default';
const password = process.env.CLICKHOUSE_PASSWORD || 'password';
export const clickhouse = createClient({
host: `http://${host}:${port}`,
url: `http://${host}:${port}`,
username: user,
password: password,
// You can add more options as needed, e.g. database, compression, etc.