mirror of
https://github.com/azukaar/Cosmos-Server.git
synced 2026-05-02 17:19:51 -05:00
[release] v0.14.0-unstable8
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cosmos-server",
|
||||
"version": "0.14.0-unstable7",
|
||||
"version": "0.14.0-unstable8",
|
||||
"description": "",
|
||||
"main": "test-server.js",
|
||||
"bugs": {
|
||||
|
||||
+3
-1
@@ -40,9 +40,11 @@ func DB() error {
|
||||
|
||||
isPuppetMode := config.Database.PuppetMode
|
||||
puppetHostname := config.Database.Hostname
|
||||
username := config.Database.Username
|
||||
password := config.Database.Password
|
||||
|
||||
if isPuppetMode {
|
||||
mongoURL = "mongodb://" + puppetHostname + ":27017"
|
||||
mongoURL = "mongodb://" + username + ":" + password + "@" + puppetHostname + ":27017"
|
||||
DBContainerName = puppetHostname
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user