[release] v0.12.0-unstable14
This commit is contained in:
parent
af4ecbef41
commit
d7cf669583
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cosmos-server",
|
||||
"version": "0.12.0-unstable13",
|
||||
"version": "0.12.0-unstable14",
|
||||
"description": "",
|
||||
"main": "test-server.js",
|
||||
"bugs": {
|
||||
|
|
|
@ -245,7 +245,9 @@ func GetConfigFileName() string {
|
|||
configFile := os.Getenv("CONFIG_FILE")
|
||||
|
||||
if configFile == "" {
|
||||
CONFIGFOLDER = os.Getenv("COSMOS_CONFIG_FOLDER")
|
||||
if os.Getenv("COSMOS_CONFIG_FOLDER") != "" {
|
||||
CONFIGFOLDER = os.Getenv("COSMOS_CONFIG_FOLDER")
|
||||
}
|
||||
configFile = CONFIGFOLDER + "cosmos.config.json"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue