From a6bfbab09a41b58acf0cedb3b0b6cff179b4e1c8 Mon Sep 17 00:00:00 2001 From: rahul-aot Date: Thu, 1 Jan 2026 08:46:37 -0800 Subject: [PATCH] feat: Add custom 404 page and configure Vercel to route all paths to index.html. --- public/404.html | 22 ++++++++++++++++++++++ vercel.json | 6 ++++++ 2 files changed, 28 insertions(+) create mode 100644 public/404.html diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..098992d --- /dev/null +++ b/public/404.html @@ -0,0 +1,22 @@ + + + + + + Page Not Found | Rahul AP + + + +
+

404

+

Oops! The project or page you're looking for doesn't exist.

+ Return to Portfolio +
+ + \ No newline at end of file diff --git a/vercel.json b/vercel.json index c538dfc..76cadd1 100644 --- a/vercel.json +++ b/vercel.json @@ -9,5 +9,11 @@ } ] } + ], + "rewrites": [ + { + "source": "/(.*)", + "destination": "/index.html" + } ] } \ No newline at end of file