Skip to content

Beautiful Open-Source Form Builder

More debugging

Julien Nahumd7f6cf439ef4
diff --git a/client/middleware/custom-domain.global.js b/client/middleware/custom-domain.global.js
index 7ee96d5c2..e16f38d7d 100644
--- a/client/middleware/custom-domain.global.js
+++ b/client/middleware/custom-domain.global.js
@@ -23,6 +23,8 @@ export default defineNuxtRouteMiddleware((to, from) => {
if (!customDomainUsed()) return
+ console.info('loadedConfig',useRuntimeConfig())
+ console.log(useRequestHeaders(),customDomainHeaderName)
const customDomainHeaderValue = useRequestHeaders()[customDomainHeaderName]
if (!customDomainHeaderValue || customDomainHeaderValue !== getDomain(getHost())) {
// If custom domain header doesn't match, redirect