sync app filled in
This commit is contained in:
@@ -77,6 +77,9 @@ func Load() (Config, error) {
|
||||
}
|
||||
|
||||
overrideString(&cfg.Server.Addr, "CAIRNQUIRE_SERVER_ADDR")
|
||||
if port := os.Getenv("PORT"); port != "" {
|
||||
cfg.Server.Addr = ":" + port
|
||||
}
|
||||
overrideString(&cfg.Database.Path, "CAIRNQUIRE_DATABASE_PATH")
|
||||
overrideString(&cfg.Database.PrimaryURL, "CAIRNQUIRE_DATABASE_PRIMARY_URL")
|
||||
overrideString(&cfg.Database.AuthToken, "CAIRNQUIRE_DATABASE_AUTH_TOKEN")
|
||||
|
||||
Reference in New Issue
Block a user