Landing page to greet users instead of a 404 #11

Open
opened 2017-12-24 06:50:44 +00:00 by witten · 0 comments
Owner

If Intergalactic is installed at the root of a domain, for instance, then navigating to thedomain.com/ will currently yield a 404 because it's not a valid IPFS hash, the same way that thedomain.com/doesnotexist will yield a 404.

So, instead of making / result in 404, provide a nice landing page there, perhaps with a single form field to enter an IPFS hash to navigate to.

Eventually it would be good to make this home page content configurable (e.g. by providing an IPFS hash to load content from), but that can be part of a subsequent ticket.

If Intergalactic is installed at the root of a domain, for instance, then navigating to `thedomain.com/` will currently yield a 404 because it's not a valid IPFS hash, the same way that `thedomain.com/doesnotexist` will yield a 404. So, instead of making `/` result in 404, provide a nice landing page there, perhaps with a single form field to enter an IPFS hash to navigate to. Eventually it would be good to make this home page content configurable (e.g. by providing an IPFS hash to load content from), but that can be part of a subsequent ticket.
witten added this to the First alpha milestone 2017-12-25 06:26:17 +00:00
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: witten/intergalactic#11
No description provided.