For the web component to work correctly, it requires additional files:
WASM:
ProcMgr.wasm,ProcMgr.dataWorker:
ProcMgr.worker.js
By default, these dependencies are loaded from a CDN configured by Regula. You can host them locally for security reasons, but please note that in this case the availability, updates, and network performance of these files are your responsibility. To make the SDK load these resources locally, please follow these steps:
Find the current link in
window.RegulaDocumentSDK.workerPathand download the files from that location.Upload all three files (
ProcMgr.worker.js,ProcMgr.wasm,ProcMgr.data). Do not rename them and keep them in the same folder.Set your custom path to the folder containing the files:
window.RegulaDocumentSDK.workerPath = 'https://<CUSTOM_PATH_TO_WASM_AND_WORKER_FILES_PATH>/';
Comments
Please sign in to leave a comment.