fix setting tlsServerName and hostHeader conflict

This commit is contained in:
miloschwartz 2025-05-09 17:12:01 -04:00
parent f66fb7d4a3
commit 4ed98c227b
No known key found for this signature in database

View file

@ -318,8 +318,8 @@ async function updateHttpResource(
domainId: updatePayload.domainId,
enabled: updatePayload.enabled,
stickySession: updatePayload.stickySession,
tlsServerName: updatePayload.tlsServerName || null,
setHostHeader: updatePayload.setHostHeader || null,
tlsServerName: updatePayload.tlsServerName,
setHostHeader: updatePayload.setHostHeader,
fullDomain: updatePayload.fullDomain
})
.where(eq(resources.resourceId, resource.resourceId))