mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 03:25:40 +01:00
add log
This commit is contained in:
parent
74f0bdab89
commit
92fc680b60
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ const path = require('path');
|
|||
const del = require('del');
|
||||
|
||||
function getDatabaseType(url = process.env.DATABASE_URL) {
|
||||
console.log(`---- DATABASE_URL -----> - ${url}`);
|
||||
const type = process.env.DATABASE_TYPE || (url && url.split(':')[0]);
|
||||
|
||||
if (type === 'postgres') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue