Fix user domain lowercase header
This commit is contained in:
2
client/middleware/custom-domain.global.js
vendored
2
client/middleware/custom-domain.global.js
vendored
@@ -4,7 +4,7 @@ import {customDomainUsed, getDomain, getHost} from "~/lib/utils.js";
|
|||||||
* Added by Caddy when proxying to the app
|
* Added by Caddy when proxying to the app
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
const customDomainHeaderName = 'User-Custom-Domain'
|
const customDomainHeaderName = 'user-custom-domain'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of routes that can be used with a custom domain
|
* List of routes that can be used with a custom domain
|
||||||
|
|||||||
Reference in New Issue
Block a user