mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
DEV->ANKIDEV
This commit is contained in:
parent
7131b15953
commit
a27847de58
1 changed files with 3 additions and 3 deletions
|
@ -607,7 +607,7 @@ class RemoteServer(HttpSyncer):
|
||||||
HttpSyncer.__init__(self, hkey)
|
HttpSyncer.__init__(self, hkey)
|
||||||
|
|
||||||
def syncURL(self):
|
def syncURL(self):
|
||||||
if os.getenv("DEV"):
|
if os.getenv("ANKIDEV"):
|
||||||
return "https://l1.ankiweb.net/sync/"
|
return "https://l1.ankiweb.net/sync/"
|
||||||
return SYNC_BASE + "sync/"
|
return SYNC_BASE + "sync/"
|
||||||
|
|
||||||
|
@ -673,7 +673,7 @@ class FullSyncer(HttpSyncer):
|
||||||
self.col = col
|
self.col = col
|
||||||
|
|
||||||
def syncURL(self):
|
def syncURL(self):
|
||||||
if os.getenv("DEV"):
|
if os.getenv("ANKIDEV"):
|
||||||
return "https://l1.ankiweb.net/sync/"
|
return "https://l1.ankiweb.net/sync/"
|
||||||
return SYNC_BASE + "sync/"
|
return SYNC_BASE + "sync/"
|
||||||
|
|
||||||
|
@ -857,7 +857,7 @@ class RemoteMediaServer(HttpSyncer):
|
||||||
HttpSyncer.__init__(self, hkey, con)
|
HttpSyncer.__init__(self, hkey, con)
|
||||||
|
|
||||||
def syncURL(self):
|
def syncURL(self):
|
||||||
if os.getenv("DEV"):
|
if os.getenv("ANKIDEV"):
|
||||||
return "https://l1.ankiweb.net/msync/"
|
return "https://l1.ankiweb.net/msync/"
|
||||||
return SYNC_MEDIA_BASE
|
return SYNC_MEDIA_BASE
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue