mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 17:26:36 -04:00
tweak dev url
This commit is contained in:
parent
944ba2e90f
commit
77c9d5f5f3
1 changed files with 4 additions and 2 deletions
|
@ -608,7 +608,7 @@ class RemoteServer(HttpSyncer):
|
||||||
|
|
||||||
def syncURL(self):
|
def syncURL(self):
|
||||||
if os.getenv("DEV"):
|
if os.getenv("DEV"):
|
||||||
return "http://localhost:5000/sync/"
|
return "https://l1.ankiweb.net/sync/"
|
||||||
return SYNC_BASE + "sync/"
|
return SYNC_BASE + "sync/"
|
||||||
|
|
||||||
def hostKey(self, user, pw):
|
def hostKey(self, user, pw):
|
||||||
|
@ -673,6 +673,8 @@ class FullSyncer(HttpSyncer):
|
||||||
self.col = col
|
self.col = col
|
||||||
|
|
||||||
def syncURL(self):
|
def syncURL(self):
|
||||||
|
if os.getenv("DEV"):
|
||||||
|
return "https://l1.ankiweb.net/sync/"
|
||||||
return SYNC_BASE + "sync/"
|
return SYNC_BASE + "sync/"
|
||||||
|
|
||||||
def download(self):
|
def download(self):
|
||||||
|
@ -848,7 +850,7 @@ class RemoteMediaServer(HttpSyncer):
|
||||||
|
|
||||||
def syncURL(self):
|
def syncURL(self):
|
||||||
if os.getenv("DEV"):
|
if os.getenv("DEV"):
|
||||||
return "http://localhost:5001/"
|
return "https://l1.ankiweb.net/msync/"
|
||||||
return SYNC_BASE + "msync/"
|
return SYNC_BASE + "msync/"
|
||||||
|
|
||||||
def begin(self):
|
def begin(self):
|
||||||
|
|
Loading…
Reference in a new issue