From a6d3dc0c80274192f415d824eb910c2c794b4bc7 Mon Sep 17 00:00:00 2001 From: Julien Nahum Date: Tue, 16 Jan 2024 10:54:12 +0100 Subject: [PATCH] Fix user domain lowercase header --- client/middleware/custom-domain.global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/middleware/custom-domain.global.js b/client/middleware/custom-domain.global.js index e16f38d..d2b43ff 100644 --- a/client/middleware/custom-domain.global.js +++ b/client/middleware/custom-domain.global.js @@ -4,7 +4,7 @@ import {customDomainUsed, getDomain, getHost} from "~/lib/utils.js"; * Added by Caddy when proxying to the app * @type {string} */ -const customDomainHeaderName = 'User-Custom-Domain' +const customDomainHeaderName = 'user-custom-domain' /** * List of routes that can be used with a custom domain