-
Notifications
You must be signed in to change notification settings - Fork 29
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
How do I serve to a gateway #49
Comments
@konsumer you have to add the Bootstrap nodes when you create the instance:
Let me know if it works for you :) This will be added by default once ipfs/js-ipfs#740 is merged. |
That totally worked! Thanks so much! |
Closing this one. Keep us posted of future developments :) |
This example no longer works, even when removing the 502-returning bootstrap servers. Any thoughts as to why this isn't working? This is a pretty big bottleneck for us right now with what we're working on -- any help would be greatly appreciated! Just tested some other content added from the command line that is working, so it's not the gateway! |
@JohnAllen could you share the issue you are having? I just loaded it and it worked: |
I think it doesn't actually get posted to ipfs (it's not available on the gateway.) See this issue |
Please file issues with js-ipfs or go-ipfs in the respective repos. This repo is for tracking the work on integrating IPFS into web browsers. |
@lgierth he did, that was the issue linked on the comment above ipfs/js-ipfs#967 ;) |
Oh got it -- sorry |
Will stay in the other, more-to-the-point, issue. (but yeah example works just doesn't pin and isn't available on gateway) |
Hey, I'm trying the example. The gateway is not able to fetch from the browser. Tracked your progress through ipfs/js-ipfs#967 and ipfs/js-ipfs#973. My fork is here: https://codepen.io/anon/pen/LrzBLa?editors=0010 Am I missing something? EDIT: Opened discuss thread https://discuss.ipfs.io/t/serving-a-gateway-from-a-js-ipfs-web-app/3222 EDIT: Seems to be resolved: ipfs/js-ipfs#1380 (comment) |
I've got a browser-based demo here that correctly generates a new file and stores it in IndexDB via ipfs-js.
How do I make it's content available on a gateway? I tried using
bootstrap.add
on hosts from the the node config but that didn't seem to work (or throw an error.)The text was updated successfully, but these errors were encountered: