From 0f02c4dfc3b5f2f547b1ea611bc6c82194787f79 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 4 Apr 2026 16:20:23 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- apps/dokploy/__test__/compose/domain/labels.test.ts | 12 ++++++++++-- .../dashboard/application/domains/handle-domain.tsx | 4 +--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/dokploy/__test__/compose/domain/labels.test.ts b/apps/dokploy/__test__/compose/domain/labels.test.ts index 56ffb3b1d..ec8e9edc7 100644 --- a/apps/dokploy/__test__/compose/domain/labels.test.ts +++ b/apps/dokploy/__test__/compose/domain/labels.test.ts @@ -248,7 +248,11 @@ describe("createDomainLabels", () => { ...baseDomain, middlewares: ["auth@file"], }; - const labels = await createDomainLabels(appName, customMiddlewareDomain, "web"); + const labels = await createDomainLabels( + appName, + customMiddlewareDomain, + "web", + ); expect(labels).toContain( "traefik.http.routers.test-app-1-web.middlewares=auth@file", @@ -260,7 +264,11 @@ describe("createDomainLabels", () => { ...baseDomain, middlewares: ["auth@file", "rate-limit@file"], }; - const labels = await createDomainLabels(appName, customMiddlewareDomain, "web"); + const labels = await createDomainLabels( + appName, + customMiddlewareDomain, + "web", + ); expect(labels).toContain( "traefik.http.routers.test-app-1-web.middlewares=auth@file,rate-limit@file", diff --git a/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx b/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx index 771570229..655f9d147 100644 --- a/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx +++ b/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx @@ -290,9 +290,7 @@ export const AddDomain = ({ id, type, domainId = "", children }: Props) => { composeId: id, }), ...data, - customEntrypoint: data.useCustomEntrypoint - ? data.customEntrypoint - : null, + customEntrypoint: data.useCustomEntrypoint ? data.customEntrypoint : null, }) .then(async () => { toast.success(dictionary.success);