Skip to content

Conversation

linonetwo
Copy link

@linonetwo linonetwo commented Jul 31, 2019

Repo: https://github.com/linonetwo/ipfs-browser-gateway

Example: https://onetwo.ren/ipfs-browser-gateway/ipfs/QmXD8TDFDn7kfsmCD2eQ3QWuhLpvj7LB5tbzU44iypdmQ9

I'm not sure whether this will work in this gateway checker, since it relies on service-worker to work, and only work in client-side which supports sw.

@jamiew
Copy link
Contributor

jamiew commented Aug 7, 2019

Cool project! Could you check locally if it works with your app before we merge?

@linonetwo
Copy link
Author

Oh, no, directly fetch() my gateway only resulted in 404. Normally, this 404 page carries a service worker, who will redirect the browser to the actual content on IPFS.

But fetch() won't execute the service worker, so it won't work with this checker, sadly.

@linonetwo linonetwo closed this Aug 8, 2019
@lazyweirdo
Copy link
Contributor

now it is also requesting a script file, which actually executes code ... not sure if it is enough, your project seems cool ... verify it again if you can
Cheers

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.

3 participants