fix(traefik): on setup support serverId as parameter and input

This commit is contained in:
Aeriit
2025-08-09 11:05:37 -04:00
parent 33d6c2073b
commit 883e1d1bfe

View File

@@ -393,7 +393,7 @@ export const readPorts = async (
export const writeTraefikSetup = async (
input: TraefikOptions,
serverId?: string,
serverId = input.serverId,
) => {
const resourceType = await getDockerResourceType("dokploy-traefik", serverId);
if (resourceType === "service") {