From 8599f519a41fe636b478d48f5d8676fcfafdce55 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 22 Jun 2025 05:44:21 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../dashboard/application/domains/handle-domain.tsx | 6 ++++-- packages/server/src/utils/traefik/domain.ts | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx b/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx index 8f9c279c5..ff3781daf 100644 --- a/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx +++ b/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx @@ -485,7 +485,8 @@ export const AddDomain = ({ id, type, domainId = "", children }: Props) => { Internal Path - The path where your application expects to receive requests internally (defaults to "/") + The path where your application expects to receive + requests internally (defaults to "/") @@ -504,7 +505,8 @@ export const AddDomain = ({ id, type, domainId = "", children }: Props) => {
Strip Path - Remove the external path from the request before forwarding to the application + Remove the external path from the request before + forwarding to the application
diff --git a/packages/server/src/utils/traefik/domain.ts b/packages/server/src/utils/traefik/domain.ts index 9f01c8d8a..68095fa80 100644 --- a/packages/server/src/utils/traefik/domain.ts +++ b/packages/server/src/utils/traefik/domain.ts @@ -112,7 +112,8 @@ export const createRouterConfig = async ( const { appName, redirects, security } = app; const { certificateType } = domain; - const { host, path, https, uniqueConfigKey, internalPath, stripPath } = domain; + const { host, path, https, uniqueConfigKey, internalPath, stripPath } = + domain; const routerConfig: HttpRouter = { rule: `Host(\`${host}\`)${path !== null && path !== "/" ? ` && PathPrefix(\`${path}\`)` : ""}`, service: `${appName}-service-${uniqueConfigKey}`,