-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 <[email protected]>
- Loading branch information
1 parent
4453b89
commit d7846d7
Showing
2 changed files
with
125 additions
and
4 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
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