diff --git a/main.js b/main.js index c3448cc..df18fd4 100644 --- a/main.js +++ b/main.js @@ -1,6 +1,8 @@ async function collection(source, target, options = {}) { const { config, utils } = options; - const { tauriFetch: fetch } = utils; + const { http } = utils; + const { fetch, Boxy } = http; + const { port = 8765 } = config; async function ankiConnect(action, version, params = {}) { @@ -97,4 +99,4 @@ async function collection(source, target, options = {}) { }), }, }); -} \ No newline at end of file +}