mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-09 03:24:13 +00:00
Merge pull request #459 from GNS3/Licenses-are-not-shown-when-web-ui-released-in-gns3server
Licenses are not shown when web ui released in gns3server
This commit is contained in:
commit
d11413d10e
@ -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 />")
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user