From 19eb5f86cf351dc63b41bc62c413b846332e8b7f Mon Sep 17 00:00:00 2001 From: Mark Cuckson <59055349+mcuckson@users.noreply.github.com> Date: Wed, 24 May 2023 19:51:50 +0100 Subject: [PATCH] Feat(deploy): remove host header --- pages/api/compliance/[...all].js | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/api/compliance/[...all].js b/pages/api/compliance/[...all].js index df12cd33..8680ebb6 100644 --- a/pages/api/compliance/[...all].js +++ b/pages/api/compliance/[...all].js @@ -25,6 +25,7 @@ function addTrailingSlash(url) { } + export default function handler(req, res) { req.url = addTrailingSlash(req.url); proxy(req, res, (err) => {