Skip to content

Adding Web3 Hosting example of IPFS _redirects file for most use cases #147

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RezaRahemtola
Copy link
Contributor

@RezaRahemtola RezaRahemtola commented Mar 28, 2025

The majority of use cases only need this simple _redirects file to work (with any modern client side JS framework such as React, there is a single index.html in the build output and the routing logic is handled by the framework, so we just need to rewrite everything to the root).

This avoids user skipping this step / spending time understanding how IPFS works by browsing the docs / just giving up when their site doesn't work by providing a default that should be working for most use cases but also encouraging users to dig the links if needed.

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.

2 participants