mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 03:22:48 +00:00
Remove excessive defensive programming
This commit is contained in:
parent
429cb304a4
commit
c44f60904a
@ -65,7 +65,7 @@ export class OpenLPService {
|
||||
private titleCasePipe: TitleCasePipe, private sentenceCasePipe: SentenceCasePipe,
|
||||
private translateService: TranslateService
|
||||
) {
|
||||
const protocol = window.location.protocol || "http:";
|
||||
const protocol = window.location.protocol;
|
||||
const host = window.location.hostname;
|
||||
let port: string;
|
||||
if (environment.production) {
|
||||
|
Loading…
Reference in New Issue
Block a user