mirror of
https://github.com/ajvpot/meshexplorer.git
synced 2026-03-28 17:42:58 +01:00
fix clickhouse constructor
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user