mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02: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 {
|
||||
fs.writeFileSync(configPath, traefikConfig, "utf8");
|
||||
}
|
||||
fs.writeFileSync(configPath, traefikConfig, "utf8");
|
||||
} catch (e) {
|
||||
console.error("Error saving the YAML config file:", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user