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({
|
||||
next: (updatedConfig) => {
|
||||
this.config = updatedConfig;
|
||||
next: () => {
|
||||
// Бэкенд возвращает void (200 OK). Нам НЕ нужно затирать config!
|
||||
this.editingDomains[container.id] = false;
|
||||
console.log(`[Caddy] Маршрут для сервиса ${serviceName} успешно сохранён.`);
|
||||
},
|
||||
@@ -370,7 +370,6 @@ export class ProjectDetailsComponent implements OnInit, OnDestroy, AfterViewChec
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
cancelEditDomain(containerId: string) {
|
||||
this.editingDomains[containerId] = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user