dat-fox icon indicating copy to clipboard operation
dat-fox copied to clipboard

CORS preventing reading contents of dat

Open paul90 opened this issue 7 years ago • 0 comments

Getting errors like:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at dat://ed8fd80fbbfb4396fdb1445f449563a52bcce1e3d10b48515a1ec784442dfb61/activity/factory.json. (Reason: CORS request not http).[Learn More]

when trying to read contents from a dat other than the origin.

This is when trying to run dat://federated-wiki-client.hashbase.io/ with dat-fox in the current developer edition of Firefox.

~I notice later that the readdir calls are all returning a rejected promise with "Error: Another hypercore is stored here". A connected issue?~ deleting the problem archive from the datfox cache resolved the "Error: Another hypercore is stored here" error.

paul90 avatar Oct 12 '18 10:10 paul90