mirror of
https://github.com/LukeHagar/dokploy.git
synced 2025-12-06 04:19:37 +00:00
fix(traefik): remove duplicate file write operation in writeTraefikConfigInPath function
This commit is contained in:
@@ -237,7 +237,6 @@ export const writeTraefikConfigInPath = async (
|
|||||||
} else {
|
} else {
|
||||||
fs.writeFileSync(configPath, traefikConfig, "utf8");
|
fs.writeFileSync(configPath, traefikConfig, "utf8");
|
||||||
}
|
}
|
||||||
fs.writeFileSync(configPath, traefikConfig, "utf8");
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Error saving the YAML config file:", e);
|
console.error("Error saving the YAML config file:", e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user