Beautiful Open-Source Form Builder
Fix custom domain forward header name
Julien Nahumd79634175874
diff --git a/client/middleware/custom-domain.global.js b/client/middleware/custom-domain.global.jsindex df171792d..7ee96d5c2 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 = 'CUSTOM_DOMAIN_HEADER'+const customDomainHeaderName = 'User-Custom-Domain'/*** List of routes that can be used with a custom domain