mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore(domains): update domain configuration types and form handling
- Add `customCertResolver` to domain-related test files and form components - Ensure consistent handling of optional custom certificate resolver - Minor UI adjustment in code editor disabled state
This commit is contained in:
parent
cc8ffca4d4
commit
e4197d6565
@ -9,6 +9,7 @@ describe("createDomainLabels", () => {
|
|||||||
port: 8080,
|
port: 8080,
|
||||||
https: false,
|
https: false,
|
||||||
uniqueConfigKey: 1,
|
uniqueConfigKey: 1,
|
||||||
|
customCertResolver: null,
|
||||||
certificateType: "none",
|
certificateType: "none",
|
||||||
applicationId: "",
|
applicationId: "",
|
||||||
composeId: "",
|
composeId: "",
|
||||||
|
@ -103,6 +103,7 @@ const baseDomain: Domain = {
|
|||||||
port: null,
|
port: null,
|
||||||
serviceName: "",
|
serviceName: "",
|
||||||
composeId: "",
|
composeId: "",
|
||||||
|
customCertResolver: null,
|
||||||
domainType: "application",
|
domainType: "application",
|
||||||
uniqueConfigKey: 1,
|
uniqueConfigKey: 1,
|
||||||
previewDeploymentId: "",
|
previewDeploymentId: "",
|
||||||
|
@ -94,6 +94,7 @@ export const AddPreviewDomain = ({
|
|||||||
/* Convert null to undefined */
|
/* Convert null to undefined */
|
||||||
path: data?.path || undefined,
|
path: data?.path || undefined,
|
||||||
port: data?.port || undefined,
|
port: data?.port || undefined,
|
||||||
|
customCertResolver: data?.customCertResolver || undefined,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ export const CodeEditor = ({
|
|||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
{props.disabled && (
|
{props.disabled && (
|
||||||
<div className="absolute top-0 rounded-md left-0 w-full h-full flex items-center justify-center z-[10] [background:var(--overlay)]" />
|
<div className="absolute top-0 rounded-md left-0 w-full h-full flex items-center justify-center z-[10] [background:var(--overlay)] h-full" />
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user