sed and config fix for MySQL socket, accept CLA for @dsbaars
This commit is contained in:
@@ -15,7 +15,7 @@ export class DB {
|
||||
timezone: '+00:00',
|
||||
}
|
||||
|
||||
if (config.DATABASE.SOCKET)
|
||||
if (config.DATABASE.SOCKET && config.DATABASE.SOCKET != "")
|
||||
poolConfig.socketPath = config.DATABASE.SOCKET
|
||||
else
|
||||
poolConfig.host = config.DATABASE.HOST
|
||||
|
||||
Reference in New Issue
Block a user