summaryrefslogtreecommitdiffstats
path: root/remoting/tools/hostdir.py
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/tools/hostdir.py')
-rwxr-xr-xremoting/tools/hostdir.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/tools/hostdir.py b/remoting/tools/hostdir.py
index d4905f4..d8ef5cd 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" }