update media url

This commit is contained in:
Damien Elmes 2015-03-13 17:06:34 +11:00
parent cdb1cb06a0
commit a0bad7da45
2 changed files with 2 additions and 1 deletions

View file

@ -49,6 +49,7 @@ SCHEMA_VERSION = 11
SYNC_ZIP_SIZE = int(2.5*1024*1024)
SYNC_ZIP_COUNT = 25
SYNC_BASE = "https://ankiweb.net/"
SYNC_MEDIA_BASE = "https://msync.ankiweb.net/"
SYNC_VER = 8
HELP_SITE="http://ankisrs.net/docs/manual.html"

View file

@ -859,7 +859,7 @@ class RemoteMediaServer(HttpSyncer):
def syncURL(self):
if os.getenv("DEV"):
return "https://l1.ankiweb.net/msync/"
return SYNC_BASE + "msync/"
return SYNC_MEDIA_BASE
def begin(self):
self.postVars = dict(