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

fix: use http instead of https #63

Merged
merged 2 commits into from
Apr 23, 2024
Merged

fix: use http instead of https #63

merged 2 commits into from
Apr 23, 2024

Conversation

ethanwlee
Copy link
Contributor

resolving did:web is failing in tbdex-dart's tbdex_http_client due to a handshake error, this pr creates a temporary fix to that error.

@ethanwlee ethanwlee merged commit f4d2ed0 into main Apr 23, 2024
1 check failed
@ethanwlee ethanwlee deleted the fix-handshake-error branch April 23, 2024 00:22
Uri? didUri = Uri.tryParse('https://$documentUrl');
Uri? didUri = Uri.tryParse('http://$documentUrl');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ethan-tbd i think this was refactored out at some point. not sure when but, here's what we can add back to support both: https://github.com/TBD54566975/web5-dart/blob/01f420ed8000c2538f9d21b3ed99de8f8c2253dc/packages/web5/lib/src/dids/did_web/did_web.dart#L20-L26

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

Successfully merging this pull request may close these issues.

2 participants