mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
default to dev server
This commit is contained in:
parent
1a09aa9f77
commit
218f823037
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ if simplejson.__version__ < "1.7.3":
|
|||
|
||||
CHUNK_SIZE = 32768
|
||||
MIME_BOUNDARY = "Anki-sync-boundary"
|
||||
SYNC_HOST = os.environ.get("SYNC_HOST") or "ankiweb.net"
|
||||
SYNC_HOST = os.environ.get("SYNC_HOST") or "dev.ankiweb.net"
|
||||
SYNC_PORT = int(os.environ.get("SYNC_PORT") or 80)
|
||||
SYNC_URL = "http://%s:%d/sync/" % (SYNC_HOST, SYNC_PORT)
|
||||
KEYS = ("models", "facts", "cards", "media")
|
||||
|
|
Loading…
Reference in a new issue