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 offline support #498

Closed
Tracked by #501
mjamesderocher opened this issue Feb 23, 2023 · 1 comment
Closed
Tracked by #501

Fix offline support #498

mjamesderocher opened this issue Feb 23, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@mjamesderocher
Copy link

Summary

Offline support in recent version of Webnative is not working.

Problem

When trying to run a site using Webnative, the console shows the errors:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cloudflare-dns.com/dns-query?name=_did.zsktgjmutuo5bs24o72abcas6b4zkocw.fission.name&type=txt. (Reason: CORS request did not succeed). Status code: (null).

and

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://dns.google/resolve?name=_did.zsktgjmutuo5bs24o72abcas6b4zkocw.fission.name&type=txt. (Reason: CORS request did not succeed). Status code: (null).

These calls come from the file lib/components/reference/dns-over-https.ts

The issue only shows up if the filesystem is set to loadImmediately: true when initiating the program.

@icidasset icidasset added the bug Something isn't working label Feb 27, 2023
@icidasset
Copy link
Contributor

Fixed on next branch. We'll be doing a new release soon(ish) 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants