Skip to content

Vercel 404: NOT_FOUND #315

@martimayoral

Description

@martimayoral

NOT FOUND page not showing when deployed to Vercel

Hi! I've been working on implementing documentation using Vocs, and deployed it live last week. Everything works well — except the "Page Not Found" page, which doesn't seem to work in production.

  • In development (localhost), navigating to a non-existent route correctly shows the "Page Not Found" page:
Image
  • But in production (on Vercel), I get the default Vercel 404 page instead:
Image

I looked into your "Bootstrap via Vercel" documentation to see if this was handled there, but it doesn't seem to address the issue. I also reviewed if your documentation vocs.dev fixed this issue but it happens there as well. See not-found-route.

Any help on how to properly show the custom 404 page on Vercel would be greatly appreciated. Thanks for the awesome work on Vocs!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions