summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/app/updater.cxx10
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Update.xcs2
2 files changed, 7 insertions, 5 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index 1e0d571f3a3c..a3bb82d99adf 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -485,15 +485,17 @@ void update_checker()
rtl::Bootstrap::expandMacros(aBuildTarget);
OUString aLocale = "en-US";
OUString aChannel = officecfg::Office::Update::Update::UpdateChannel::get();
- OUString aOSVersion = "0";
- OUString aDownloadCheckURL = aDownloadCheckBaseURL + "update/3/" + aProductName +
+ OUString aDownloadCheckURL = aDownloadCheckBaseURL + "update/1/" + aProductName +
"/" + aVersion + "/" + aBuildID + "/" + aBuildTarget + "/" + aLocale +
- "/" + aChannel + "/" + aOSVersion + "/default/default/update.xml?force=1";
+ "/" + aChannel;
+ SAL_DEBUG(aDownloadCheckURL);
OString aURL = OUStringToOString(aDownloadCheckURL, RTL_TEXTENCODING_UTF8);
-#if 0
+#if 1
std::string response_body = download_content(aURL, false);
+ SAL_DEBUG(response_body);
+ exit(1);
#else
std::string response_body;
if(std::ifstream is{"/lo/users/moggi/update.json", std::ios::binary | std::ios::ate})
diff --git a/officecfg/registry/schema/org/openoffice/Office/Update.xcs b/officecfg/registry/schema/org/openoffice/Office/Update.xcs
index 27ea3ed72b0a..6c25d74a24a9 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Update.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Update.xcs
@@ -39,7 +39,7 @@
<info>
<desc>The URL that is used for the update check</desc>
</info>
- <value>https://update.libreoffice.org/</value>
+ <value>http://updater.libreofficecrash.org/</value>
</prop>
<prop oor:name="UpdateChannel" oor:type="xs:string" oor:nillable="false">
<info>