From ba0a9273473d87b997c00c00be114e9719c52f09 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Thu, 21 Nov 2024 18:10:06 +0100 Subject: [PATCH] Rename amiusing mdx page Seemingly the dots in the filename when handled by next/link result in a strange .txt redirect in some cases (looks similar to https://github.com/vercel/next.js/issues/48996). Not clear why, but no good reason to use this URL and make our lives difficult. --- Caddyfile | 1 + .../reference/{amiusing.httptoolkit.tech.mdx => amiusing.mdx} | 0 2 files changed, 1 insertion(+) rename src/content/docs/reference/{amiusing.httptoolkit.tech.mdx => amiusing.mdx} (100%) diff --git a/Caddyfile b/Caddyfile index d66c1874..e4e280d3 100644 --- a/Caddyfile +++ b/Caddyfile @@ -8,6 +8,7 @@ redir /view/ / 308 redir /docs/guides/subscription-faq/ /docs/faq/payments/ 308 redir /docs/reference/mock-page/ /docs/reference/modify-page/ 308 + redir /docs/reference/amiusing.httptoolkit.tech/ /docs/reference/amiusing/ 308 # Redirect old download paths to new ones @view-thankyou-subpath path_regexp subpath ^/view/thank-you/(.+) diff --git a/src/content/docs/reference/amiusing.httptoolkit.tech.mdx b/src/content/docs/reference/amiusing.mdx similarity index 100% rename from src/content/docs/reference/amiusing.httptoolkit.tech.mdx rename to src/content/docs/reference/amiusing.mdx