Update addon code in README.md

This commit is contained in:
jdoe0 2015-11-27 12:27:07 +07:00
parent dfe62472a1
commit d3eab4266e

View File

@ -83,6 +83,7 @@ like ankisyncd.py) containing the code below and put it in ~/Anki/addons.
import anki.sync
anki.sync.SYNC_BASE = 'http://127.0.0.1:27701/'
anki.sync.SYNC_MEDIA_BASE = 'http://127.0.0.1:27701/mediasync/'
Replace 127.0.0.1 with the IP address or the domain name of your server if
ankisyncd is not running on the same machine as Anki.