mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 22:27:16 +01:00
clean-up protocol, update getDatabaseType logic for CH
This commit is contained in:
parent
98b7624e8f
commit
c6d0fde424
3 changed files with 6 additions and 7 deletions
|
|
@ -17,6 +17,10 @@ export function getDatabaseType(url = process.env.DATABASE_URL) {
|
|||
return POSTGRESQL;
|
||||
}
|
||||
|
||||
if (process.env.CLICKHOUSE_URL) {
|
||||
return CLICKHOUSE;
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue