caddy lables
This commit is contained in:
+3
-4
@@ -357,10 +357,10 @@ export class ProjectDetailsComponent implements OnInit, OnDestroy, AfterViewChec
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Отправка монолитного конфига на бэкенд через твой рабочий ProjectService
|
// Отправка монолитного конфига на бэкенд
|
||||||
this.projectService.updateProjectConfig(this.project.id, this.config).subscribe({
|
this.projectService.updateProjectConfig(this.project.id, this.config).subscribe({
|
||||||
next: (updatedConfig) => {
|
next: () => {
|
||||||
this.config = updatedConfig;
|
// Бэкенд возвращает void (200 OK). Нам НЕ нужно затирать config!
|
||||||
this.editingDomains[container.id] = false;
|
this.editingDomains[container.id] = false;
|
||||||
console.log(`[Caddy] Маршрут для сервиса ${serviceName} успешно сохранён.`);
|
console.log(`[Caddy] Маршрут для сервиса ${serviceName} успешно сохранён.`);
|
||||||
},
|
},
|
||||||
@@ -370,7 +370,6 @@ export class ProjectDetailsComponent implements OnInit, OnDestroy, AfterViewChec
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
cancelEditDomain(containerId: string) {
|
cancelEditDomain(containerId: string) {
|
||||||
this.editingDomains[containerId] = false;
|
this.editingDomains[containerId] = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user