feat(dokploy): add mandaring sponsor

This commit is contained in:
Mauricio Siu
2024-11-06 22:20:19 -06:00
parent 1e1409e651
commit f3d8351208
4 changed files with 25 additions and 3 deletions

View File

@@ -268,7 +268,7 @@ export const createDomainLabels = async (
`traefik.http.routers.${routerName}.service=${routerName}`,
];
if (domain.path && domain.path.length > 0 && domain.path !== "/") {
if (domain.path) {
labels.push(
`traefik.http.routers.${routerName}.rule=PathPrefix(\`${domain.path}\`)`,
);