vocs icon indicating copy to clipboard operation
vocs copied to clipboard

Vercel 404: NOT_FOUND

Open martimayoral opened this issue 9 months ago • 2 comments

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!

martimayoral avatar Jul 21 '25 09:07 martimayoral

hey @martimayoral, any updates on this? I also came across the problem and i'm trying to find a solution

scode2277 avatar Oct 06 '25 15:10 scode2277

Is there actually the possibility to design a custom 404 page?

bennycode avatar Nov 07 '25 19:11 bennycode