Working in shippable config.
This commit is contained in:
parent
ef2209c066
commit
f57acc57fe
3 changed files with 28 additions and 10 deletions
|
@ -100,6 +100,8 @@ func setDBCredentials() string {
|
|||
conn, _ := pq.ParseURL(url)
|
||||
connection += conn
|
||||
connection += " sslmode=require"
|
||||
} else {
|
||||
connection += " sslmode=disable"
|
||||
}
|
||||
return connection
|
||||
}
|
||||
|
|
Reference in a new issue