Merge pull request #1661 from henriklovhaug/canary

Fix(Traefik) Move `passHostHeader` to correct indentation
This commit is contained in:
Mauricio Siu
2025-04-08 22:43:52 -06:00
committed by GitHub
2 changed files with 7 additions and 3 deletions

View File

@@ -365,7 +365,9 @@ const Project = (
switch (service.type) {
case "application":
await applicationActions.start.mutateAsync({ applicationId: serviceId });
await applicationActions.start.mutateAsync({
applicationId: serviceId,
});
break;
case "compose":
await composeActions.start.mutateAsync({ composeId: serviceId });
@@ -410,7 +412,9 @@ const Project = (
switch (service.type) {
case "application":
await applicationActions.stop.mutateAsync({ applicationId: serviceId });
await applicationActions.stop.mutateAsync({
applicationId: serviceId,
});
break;
case "compose":
await composeActions.stop.mutateAsync({ composeId: serviceId });

View File

@@ -37,9 +37,9 @@ export const updateServerTraefik = (
servers: [
{
url: `http://dokploy:${process.env.PORT || 3000}`,
passHostHeader: true,
},
],
passHostHeader: true,
},
},
};