[release] v0.12.0-unstable14

This commit is contained in:
Yann Stepienik 2023-10-29 13:13:34 +00:00
parent af4ecbef41
commit d7cf669583
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.12.0-unstable13",
"version": "0.12.0-unstable14",
"description": "",
"main": "test-server.js",
"bugs": {

View file

@ -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"
}