Update symbols.component.ts

This commit is contained in:
piotrpekala7 2020-11-04 12:09:30 +01:00
parent 149b68e037
commit 40a580dcb0

View File

@ -78,6 +78,6 @@ export class SymbolsComponent implements OnInit {
}
getImageSourceForTemplate(symbol: string) {
return `http://${this.server.host}:${this.server.port}/v2/symbols/${symbol}/raw`;
return `${this.server.protocol}//${this.server.host}:${this.server.port}/v2/symbols/${symbol}/raw`;
}
}