Beautiful Open-Source Form Builder
Fix user domain lowercase header
Julien Nahuma6d3dc0c8027
diff --git a/client/middleware/custom-domain.global.js b/client/middleware/custom-domain.global.jsindex e16f38d7d..d2b43ff02 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