refs #909 New dockerfile ssl

oggui/calendar
Alvaro Puente Mella 2024-10-09 16:55:27 +02:00
parent 6e559af686
commit 8ee00eaf19
3 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
NG_APP_BASE_API_URL=https://127.0.0.1:8443
NG_APP_BASE_API_URL=https://127.0.0.1:8444

View File

@ -11,4 +11,4 @@ RUN npm install
EXPOSE 4200
CMD ["ng", "serve", "--host", "0.0.0.0", "--disable-host-check"]
CMD ["ng", "serve", "--ssl","--host", "0.0.0.0", "--disable-host-check"]

View File

@ -209,6 +209,7 @@ export class EditOrganizationalUnitComponent implements OnInit {
const putUrl = `${this.baseUrl}/organizational-units/${this.data.uuid}`;
const headers = new HttpHeaders({ 'Content-Type': 'application/json' });
console.log('PUT URLLLLL:', formData);
this.http.put<any>(putUrl, formData, { headers }).subscribe(
response => {
console.log('PUT successful:', response);