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

Feature: IPFS compatibility #73

Open
craigmayhew opened this issue Feb 2, 2020 · 1 comment
Open

Feature: IPFS compatibility #73

craigmayhew opened this issue Feb 2, 2020 · 1 comment
Labels
help wanted Extra attention is needed
Milestone

Comments

@craigmayhew
Copy link
Owner

craigmayhew commented Feb 2, 2020

Currently the only thing holding the site back from an IPFS deployment is relative links.

Using the html base tag <base href="/ipns/bigprimes.net/"> seems to work for loading css etc. However importing js is erroring.

This line in particular https://github.com/craigmayhew/bigprimes.net/blob/ipfs/www/bootstrap.js#L4 errors with Error importing 'index.js': TypeError: Failed to resolve module specifier "BigPrimes". Relative references must start with either "/", "./", or "../". on bootstrap.js line 5.

If anyone can solve this problem, or at least help me understand it, then we can deploy bigprimes.net to IPFS with IPNS http://127.0.0.1:8080/ipns/bigprimes.net/ or ipns://bigprimes.net/.

@craigmayhew craigmayhew added the help wanted Extra attention is needed label Feb 2, 2020
@craigmayhew craigmayhew added this to the ipfs milestone Feb 2, 2020
@craigmayhew
Copy link
Owner Author

This issue has now been fixed in #75

I'm now waiting on a pinning service that allows us to post the files without a node. Infura is looking like the front runner:
https://community.infura.io/t/ipfs-http-api-add-directory/189/13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant