tweak dev url

This commit is contained in:
Damien Elmes 2014-07-12 18:03:20 +09:00
parent 944ba2e90f
commit 77c9d5f5f3

View File

@ -608,7 +608,7 @@ class RemoteServer(HttpSyncer):
def syncURL(self):
if os.getenv("DEV"):
return "http://localhost:5000/sync/"
return "https://l1.ankiweb.net/sync/"
return SYNC_BASE + "sync/"
def hostKey(self, user, pw):
@ -673,6 +673,8 @@ class FullSyncer(HttpSyncer):
self.col = col
def syncURL(self):
if os.getenv("DEV"):
return "https://l1.ankiweb.net/sync/"
return SYNC_BASE + "sync/"
def download(self):
@ -848,7 +850,7 @@ class RemoteMediaServer(HttpSyncer):
def syncURL(self):
if os.getenv("DEV"):
return "http://localhost:5001/"
return "https://l1.ankiweb.net/msync/"
return SYNC_BASE + "msync/"
def begin(self):