-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: support ens resolution #56
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self review
@@ -126,7 +129,12 @@ function changeCssFontPath (path: string): string { | |||
* | |||
*/ | |||
export async function heliaFetch ({ path, helia, signal, headers, id, protocol }: HeliaFetchOptions): Promise<Response> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should remove helia
here and the get-helia
since we can't pass both custom dnsResolvers and a custom helia instance.
until either cloudflare or delegated-ipfs.dev dns-query is working, this is working for ens resolution
ens resolution is working with the last RC version of verified-fetch and the config from https://github.com/ipshipyard/waterworks-infra/pull/30 deployed to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self review
Title
Description
Adds cloudflare ens resolver (which falls back to regular dns resolution) and updates verified-fetch to the latest RC.
fixes #23
Notes & open questions
SHOULD NOT BE MERGED because cloudflare is still failing CORS. See ipshipyard/waterworks-community#6 (comment)
Change checklist