diff --git a/CHANGELOG.md b/CHANGELOG.md index ba9b0f8..eb750bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [1.0.0] - 2023-08-17 +## [1.0.0] - 2023-10-12 ### Added - Init project - Prototype @@ -61,6 +61,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - space after welcome - Redirect to main if router link not found - Copy Assets env.js in Docker +- Reporter Cors ## CHANGED - Check for both frontend and backend diff --git a/src/app/teiler/quality-report.service.ts b/src/app/teiler/quality-report.service.ts index a3c6770..eda9a45 100644 --- a/src/app/teiler/quality-report.service.ts +++ b/src/app/teiler/quality-report.service.ts @@ -21,8 +21,8 @@ export class QualityReportService extends EmbeddedTeilerApp { iconSourceUrl: string | undefined = undefined; title: string = $localize`Qualitätsbericht`; roles: TeilerRole[] = [TeilerRole.TEILER_ADMIN]; - httpHeaders: HttpHeaders = new HttpHeaders().append("x-api-key", environment.config.EXPORTER_API_KEY); - httpHeadersXML: HttpHeaders = new HttpHeaders().append("x-api-key", environment.config.EXPORTER_API_KEY).append("Content-Type", "application/xml"); + httpHeaders: HttpHeaders = new HttpHeaders(); + httpHeadersXML: HttpHeaders = new HttpHeaders().append("Content-Type", "application/xml"); constructor(router: Router, private http: HttpClient) { super(EmbeddedTeilerApps.QUALITY_REPORT, router); }