Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Reporter Cors #21

Merged
merged 1 commit into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading