Skip to content

Commit

Permalink
Merge pull request #21 from samply/bugfix/reporter-cors
Browse files Browse the repository at this point in the history
Bugfix: Reporter Cors
  • Loading branch information
djuarezgf authored Oct 12, 2023
2 parents 97f2618 + a595eaf commit 61448c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/app/teiler/quality-report.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 61448c1

Please sign in to comment.