Skip to content

404 page not working #2717

@nknguyenhc

Description

@nknguyenhc

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

No response

Tell us about your environment

Windows 10

MarkBind version

6.0.0

Describe the bug and the steps to reproduce it

  1. Create a new project and install Markbind, as per Markbind Getting Started.
  2. Run npm run init and npm run serve.
  3. Navigate to http://127.0.0.1:8080/test (or any page that does not have a corresponding file)
  4. The page says Cannot GET /test

Expected behavior

The page renders with a 404 message as indicated in 404.md:

-><p style="font-size: 10rem">404</p><-
-><p style="font-size: 1.5rem">File not found<br>Click <a href="/">here</a> to go back to the home page.</p><-

Anything else?

Currently, the Markbind website 404 page also does not work. Navigating to https://markbind.org/404.html shows a blank page. The error message in the console:

Hydration completed but contains mismatches.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions