Fix custom domain forward header name

This commit is contained in:
Julien Nahum 2024-01-16 10:38:31 +01:00
parent c35c505114
commit d796341758
1 changed files with 1 additions and 1 deletions

View File

@ -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