-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gateway renders pretty 404 pages if available
In the same way that an `index.html` file is rendered, if one is present, when a path requested of the gateway is a directory, a `404.html` file is rendered if the requested file is not present within the specified IPFS object. `404.html` files are looked for in the directory of the requested path and each parent until one is found, falling back on the previous error message. License: MIT Signed-off-by: JP Hastings-Spital <jphastings@gmail.com>
- Loading branch information
1 parent
4453b89
commit 5df5fee
Showing
1 changed file
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters