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

Gateway renders pretty 404 pages if available #4233

Merged
merged 1 commit into from
May 19, 2020

Commits on May 19, 2020

  1. Gateway renders pretty 404 pages if available

    In the same way that an `index.html` file is rendered, if one is present, when the
    requested path is a directory, now an `ipfs-404.html` file is rendered if
    the requested file is not present within the specified IPFS object.
    
    `ipfs-404.html` files are looked for in the directory of the requested path and each
    parent until one is found, falling back on the well-known 404 error message.
    
    License: MIT
    Signed-off-by: JP Hastings-Spital <jphastings@gmail.com>
    jphastings authored and Stebalien committed May 19, 2020
    Configuration menu
    Copy the full SHA
    dfceafd View commit details
    Browse the repository at this point in the history