From e862996c616f37d0ef7e48d72f98f593c7b13d8a Mon Sep 17 00:00:00 2001 From: Michal Rentka Date: Wed, 21 Aug 2024 09:52:15 +0200 Subject: [PATCH] Load document from url --- src/index.ios.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.ios.js b/src/index.ios.js index 0ef7396b..71fcddd4 100644 --- a/src/index.ios.js +++ b/src/index.ios.js @@ -29,8 +29,7 @@ window.createView = options => { viewState: options.viewState, container: document.getElementById('view'), data: { - // TODO: Implement a more efficient way to transfer large files - buf: new Uint8Array(options.buf) + url: new URL(options.url) }, onSaveAnnotations: annotations => { postMessage('onSaveAnnotations', {annotations});