mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-08 04:55:17 +00:00
fix(traefik): on setup support serverId as parameter and input
This commit is contained in:
@@ -393,7 +393,7 @@ export const readPorts = async (
|
|||||||
|
|
||||||
export const writeTraefikSetup = async (
|
export const writeTraefikSetup = async (
|
||||||
input: TraefikOptions,
|
input: TraefikOptions,
|
||||||
serverId?: string,
|
serverId = input.serverId,
|
||||||
) => {
|
) => {
|
||||||
const resourceType = await getDockerResourceType("dokploy-traefik", serverId);
|
const resourceType = await getDockerResourceType("dokploy-traefik", serverId);
|
||||||
if (resourceType === "service") {
|
if (resourceType === "service") {
|
||||||
|
|||||||
Reference in New Issue
Block a user