mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-17 09:25:20 +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