wikitree-dynamic-tree icon indicating copy to clipboard operation
wikitree-dynamic-tree copied to clipboard

Use WikiTreeApi to call postToAPI

Open faceless2 opened this issue 1 year ago • 0 comments

Because I was calling fetch() directly rather than using WikiTreeAPI.postToAPI(), I was not sending the token parameter which - it turns out - is necessary when the tree is hosted on wikitree.com to pass through login details when the user is logged in.

This PR makes SlippyTree use postToAPI so when the user is logged in they can view their private profiles.

It also halves the scrollwheel zoom factor based on feedback in comment at https://www.wikitree.com/g2g/1802306/announcing-a-new-tree-view-slippytree#1802760

faceless2 avatar Oct 08 '24 19:10 faceless2