From f92b5a2507f427288f2d606d42149c0a249c9ad4 Mon Sep 17 00:00:00 2001
From: Frank Karlitschek <frank@owncloud.org>
Date: Thu, 17 Jul 2014 21:54:46 -0400
Subject: [PATCH] update appstore api url

---
 config/config.sample.php  | 2 +-
 lib/private/ocsclient.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/config.sample.php b/config/config.sample.php
index 1bfae366ff..24c1579bad 100755
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -88,7 +88,7 @@ $CONFIG = array(
 "appstoreenabled" => true,
 
 /* URL of the appstore to use, server should understand OCS */
-"appstoreurl" => "http://api.apps.owncloud.com/v1",
+"appstoreurl" => "https://api.owncloud.com/v1",
 
 /* Domain name used by ownCloud for the sender mail address, e.g. no-reply@example.com */
 "mail_domain" => "example.com",
diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php
index 39d7e9cccc..dc52fc27b5 100644
--- a/lib/private/ocsclient.php
+++ b/lib/private/ocsclient.php
@@ -37,7 +37,7 @@ class OC_OCSClient{
 	 */
 	private static function getAppStoreURL() {
 		if(OC_Util::getEditionString()===''){
-			$default='http://api.apps.owncloud.com/v1';
+			$default='https://api.owncloud.com/v1';
 		}else{
 			$default='';
 		}
-- 
GitLab