diff options
author | George Moschovitis <george.moschovitis@gmail.com> | 2018-12-13 15:30:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13 15:30:21 +0200 |
commit | 6b05a213029d0097a98e26b6c2aa4ff635f37182 (patch) | |
tree | 7099b599cd7a19916f9cbee882e5012b27b2d1f0 /registry/registry_init.c | |
parent | a1690b4978675c3ca995d1ec1613a84a66d2a8c0 (diff) |
Pass cloud_base_url from daemon to web/gui through hello endpoint #4980 (#4982)
* Pass cloud_base_url from daemon to web/gui through hello endpoint #4980
* Make sure the [cloud] section goes into the general part of netdata.conf #4980
Diffstat (limited to 'registry/registry_init.c')
-rw-r--r-- | registry/registry_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/registry/registry_init.c b/registry/registry_init.c index d3e0420d2c..b8af0ad869 100644 --- a/registry/registry_init.c +++ b/registry/registry_init.c @@ -37,6 +37,7 @@ int registry_init(void) { registry.persons_expiration = config_get_number(CONFIG_SECTION_REGISTRY, "registry expire idle persons days", 365) * 86400; registry.registry_domain = config_get(CONFIG_SECTION_REGISTRY, "registry domain", ""); registry.registry_to_announce = config_get(CONFIG_SECTION_REGISTRY, "registry to announce", "https://registry.my-netdata.io"); + registry.cloud_base_url = config_get(CONFIG_SECTION_CLOUD, "cloud base url", "https://netdata.cloud"); registry.hostname = config_get(CONFIG_SECTION_REGISTRY, "registry hostname", netdata_configured_hostname); registry.verify_cookies_redirects = config_get_boolean(CONFIG_SECTION_REGISTRY, "verify browser cookies support", 1); |