Index: remoting/tools/hostdir.py |
diff --git a/remoting/tools/hostdir.py b/remoting/tools/hostdir.py |
index d4905f4897777438e3d8899e274ba9f3482f277c..d8ef5cde52fd465b647b442f3644686606dbe2cd 100755 |
--- a/remoting/tools/hostdir.py |
+++ b/remoting/tools/hostdir.py |
@@ -16,7 +16,7 @@ import urllib2 |
import random |
import sys |
-DEFAULT_DIRECTORY_SERVER = 'www-googleapis-test.sandbox.google.com' |
+DEFAULT_DIRECTORY_SERVER = 'www.googleapis.com' |
auth_filepath = os.path.join(os.path.expanduser('~'), |
'.chromotingDirectoryAuthToken') |
@@ -58,7 +58,7 @@ class HostDirectory: |
self._auth_token = auth_token |
self._base_url = '/chromoting/v1/@me/hosts' |
- self._http = httplib.HTTPConnection(server) |
+ self._http = httplib.HTTPSConnection(server) |
self._headers = {"Authorization": "GoogleLogin auth=" + self._auth_token, |
"Content-Type": "application/json" } |