dotfiles/dot_local/share/Anki2/addons21/ankisyncd/__init__.py

8 lines
242 B
Python
Raw Normal View History

2021-10-16 13:15:52 -04:00
import os
# https is very necessary
#addr = "https://testing.portnoy4prez.yavin4.ch/"
addr = "https://portnoy4prez.yavin4.ch/anki-sync-server/"
os.environ["SYNC_ENDPOINT"] = addr + "sync/"
os.environ["SYNC_ENDPOINT_MEDIA"] = addr + "msync/"