Update help.component.ts

This commit is contained in:
Piotr Pekala 2019-07-04 04:57:58 -07:00
parent 16bf6ebffa
commit 4f33fb49f9

View File

@ -15,7 +15,7 @@ export class HelpComponent implements OnInit {
) {}
ngOnInit() {
this.httpClient.get('/3rdpartylicenses.txt', {responseType: 'text'})
this.httpClient.get(window.location.href + '/3rdpartylicenses.txt', {responseType: 'text'})
.subscribe(data => {
this.thirdpartylicenses = data.replace(new RegExp('\n', 'g'), "<br />")
},