fix: Database connection strings

This commit is contained in:
Andras Bacsai 2022-02-18 23:25:24 +01:00
parent ea3ffc429f
commit aa89019236

View File

@ -36,7 +36,7 @@
function generateUrl() {
return browser
? `${database.type}://${database.type === 'redis' && ':'}${
? `${database.type}://${database.type === 'redis' ? ':' : ''}${
databaseDbUser ? databaseDbUser + ':' : ''
}${databaseDbUserPassword}@${
isPublic