diff --git a/contrib/config/README.md b/contrib/config/README.md index 3d6e48a7..024b9028 100644 --- a/contrib/config/README.md +++ b/contrib/config/README.md @@ -2,7 +2,7 @@ ebusd.eu config webservice ========================== -This is the code running on the ebusd.eu config webservice that allows ebusd to download the needed CSV configuration files instead of having to install the ebusd-configuration package. - -It is enabled by default in ebusd due to the default value of the `--configpath=http://ebusd.eu/config/` commandline option. +This is the code of the webservice at http://cfg.ebusd.eu/ that allows ebusd to download the needed CSV configuration +files instead of having to install the ebusd-configuration package. +It is enabled by default in ebusd due to the default value of the `--configpath=http://cfg.ebusd.eu/` commandline option. diff --git a/contrib/config/index.php b/contrib/config/index.php index b318a033..4bb82fd2 100644 --- a/contrib/config/index.php +++ b/contrib/config/index.php @@ -1,7 +1,7 @@ nextCheckRun) { HttpClient client; - if (!client.connect("ebusd.eu", 80, PACKAGE_NAME "/" PACKAGE_VERSION)) { + if (!client.connect("upd.ebusd.eu", 80, PACKAGE_NAME "/" PACKAGE_VERSION)) { logError(lf_main, "update check connect error"); } else { ostringstream ostr; @@ -357,7 +357,7 @@ void MainLoop::run() { m_busHandler->formatUpdateInfo(&ostr); ostr << "}"; string response; - if (!client.post("/updatecheck/", ostr.str(), &response)) { + if (!client.post("/", ostr.str(), &response)) { logError(lf_main, "update check error: %s", response.c_str()); } else { m_updateCheck = response.empty() ? "unknown" : response;