From dcacf94912bb733202eb945c66a802c12f800cb5 Mon Sep 17 00:00:00 2001 From: Nikolai R Kristiansen Date: Fri, 10 Feb 2023 13:09:50 +0100 Subject: [PATCH] docs: Add changeset Signed-off-by: Nikolai R Kristiansen --- .changeset/flat-lizards-poke.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .changeset/flat-lizards-poke.md diff --git a/.changeset/flat-lizards-poke.md b/.changeset/flat-lizards-poke.md new file mode 100644 index 0000000000..bc180836fa --- /dev/null +++ b/.changeset/flat-lizards-poke.md @@ -0,0 +1,10 @@ +--- +'@techdocs/cli': patch +--- + +Fix proxying to mkdocs + +The domain localhost may point to both 127.0.0.1 and ::1, ipv4 and ipv6 +and when node tries to lookup localhost it might prefer ipv6 while mkdocs +is only listening on ipv4. This tells node-proxy to target the ipv4 address +instead of relying on localhost hostname lookup.