I am trying to host DApp "pet-shop" which one of the truffle boxes on IPFS. rsyncing of src, build/contracts and ipfs add files went very well and there are plenty of peers as seeders on the network and listening, so everything works but URL "https://gateway.ipfs.io/ipfs/COPY_DIST_HASH_HERE" fetching only an index.html page without pets.json into the page. I dont know if the problem with JSON files or with rsync command since I am using Ubuntu 16.0.4!. Does anyone know how to fix this problem?

Note: http://localhost:3000 working pretty well with the same src and build/contracts files

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.