Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use the normalize() functionality without using internet . #491

Open
SethiShivam opened this issue Jun 28, 2022 · 3 comments
Open

Comments

@SethiShivam
Copy link

Hi Team , I am trying to use the normalize functionality to Normalize the proof and it requires to access the environment .

But I want to achieve this without using internet , due to securities issue ,

Could someone please help me with that ?

Best Regards
Sethi Shivam

@davidlehn
Copy link
Member

You can pass in a custom documentLoader param that handles URLs in a custom way. For instance, returning static data or data loaded from local files.

@SethiShivam
Copy link
Author

thanks alot @davidlehn , Is there any example or documentation available to see it in more details .

Like how to load it and pass it as parameter in normalization

@dmitrizagidulin
Copy link
Contributor

@SethiShivam - here's an example of a documentLoader setting up static (usable without internet) URLs - https://github.com/digitalbazaar/vpqr/blob/main/test/loader.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants