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

8 lines
242 B
Python

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/"