From 819bd91231f997bf365653286fc03f4e6f7fa51a Mon Sep 17 00:00:00 2001 From: grassblock Date: Mon, 19 May 2025 11:40:55 +0800 Subject: [PATCH] chore: 404-page path more accurate variable --- src/pages/404.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/404.astro b/src/pages/404.astro index 0092c37..bfc6573 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -1,14 +1,14 @@ --- import Layout from '../layouts/Layout.astro'; -const url = Astro.url.pathname +const notFoundPath = Astro.url.pathname ---

command not found.

-

sh: ~{url}: command not found.

+

sh: ~{notFoundPath}: command not found.

help