diff --git a/client/middleware/custom-domain.global.js b/client/middleware/custom-domain.global.js index 7ee96d5..e16f38d 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