From 7382b0455a8ee4dcd95cdaa0e01c768d30d0da25 Mon Sep 17 00:00:00 2001 From: Daniel Jacobs Date: Tue, 17 Jun 2025 09:38:17 -0400 Subject: [PATCH] Fix #210 --- src/app/not-found.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 4a569bcc..8d65f8f3 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -2,9 +2,14 @@ import classes from "./not-found.module.css"; import { Stack, Text, Title } from "@mantine/core"; -import React from "react"; +import React, { useEffect } from "react"; export default function Home() { + useEffect(() => { + if (document.location.pathname === "/blog/") { + document.location.href = "/blog"; + } + }, []); return ( 404