mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
update media url
This commit is contained in:
parent
cdb1cb06a0
commit
a0bad7da45
2 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue