caddy lables
This commit is contained in:
@@ -200,8 +200,10 @@ export class ProjectService {
|
||||
}
|
||||
|
||||
// Обновить конфигурацию (сохранить измененные домены и порты)
|
||||
updateProjectConfig(projectId: string, config: ProjectConfig): Observable<ProjectConfig> {
|
||||
return this.http.put<ProjectConfig>(`${this.baseUrl}/user/projects/${projectId}/config`, config);
|
||||
updateProjectConfig(projectId: string, config: ProjectConfig): Observable<string> {
|
||||
return this.http.put(`${this.baseUrl}/user/projects/${projectId}/config`, config, {
|
||||
responseType: 'text'
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user