diff --git a/apps/dokploy/components/dashboard/projects/show.tsx b/apps/dokploy/components/dashboard/projects/show.tsx index 188ee60d9..b3caef7d8 100644 --- a/apps/dokploy/components/dashboard/projects/show.tsx +++ b/apps/dokploy/components/dashboard/projects/show.tsx @@ -186,7 +186,7 @@ export const ShowProjects = () => { target="_blank" href={`${domain.https ? "https" : "http"}://${domain.host}${domain.path}`} > - {domain.host} + {domain.host} @@ -222,7 +222,7 @@ export const ShowProjects = () => { target="_blank" href={`${domain.https ? "https" : "http"}://${domain.host}${domain.path}`} > - {domain.host} + {domain.host} diff --git a/packages/server/src/templates/processors.ts b/packages/server/src/templates/processors.ts index e4b548092..4cf48f1d8 100644 --- a/packages/server/src/templates/processors.ts +++ b/packages/server/src/templates/processors.ts @@ -223,7 +223,7 @@ export function processMounts( ): Template["mounts"] { if (!template?.config?.mounts) return []; - return template.config.mounts.map((mount: MountConfig) => ({ + return template?.config?.mounts?.map((mount: MountConfig) => ({ filePath: processValue(mount.filePath, variables, schema), content: processValue(mount.content, variables, schema), }));