From 45668b0d06c17241f69ec6c4934fe964c365fd79 Mon Sep 17 00:00:00 2001 From: Dave Meyer <7davidmeyer@gmail.com> Date: Tue, 20 Aug 2024 11:18:13 +0200 Subject: [PATCH] docs: Fixed case of variable (#1269) Fixed case of 'host' variable in example on 'Server Actions, Metadata & Route Handlers' page. Once the variable was written in uppercase, once in lowercase. I changed the uppercase variant to lowercase, since that is how the 'host' variable in another example is spelled. --- .../pages/docs/environments/actions-metadata-route-handlers.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/docs/environments/actions-metadata-route-handlers.mdx b/docs/pages/docs/environments/actions-metadata-route-handlers.mdx index 3d6a0eaff..a9453210d 100644 --- a/docs/pages/docs/environments/actions-metadata-route-handlers.mdx +++ b/docs/pages/docs/environments/actions-metadata-route-handlers.mdx @@ -211,7 +211,7 @@ export default function sitemap(): MetadataRoute.Sitemap { locale: (typeof locales)[number] ) { const pathname = getPathname({locale, href: key}); - return `${HOST}/${locale}${pathname === '/' ? '' : pathname}`; + return `${host}/${locale}${pathname === '/' ? '' : pathname}`; } return keys.map((key) => ({