Compare commits

...

4 Commits

Author SHA1 Message Date
Mauricio Siu
ee6ad07c0a Update package.json 2025-04-08 22:44:17 -06:00
Mauricio Siu
48fe26b204 Merge pull request #1661 from henriklovhaug/canary
Fix(Traefik) Move `passHostHeader` to correct indentation
2025-04-08 22:43:52 -06:00
autofix-ci[bot]
3ede89fe8a [autofix.ci] apply automated fixes 2025-04-08 20:27:50 +00:00
Henrik Tøn Løvhaug
fa698d173e Move passHostHeader to correct position 2025-04-08 22:24:19 +02:00
3 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "dokploy",
"version": "v0.21.4",
"version": "v0.21.5",
"private": true,
"license": "Apache-2.0",
"type": "module",

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,
},
},
};