mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 11:32:47 +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 titleCasePipe: TitleCasePipe, private sentenceCasePipe: SentenceCasePipe,
|
||||||
private translateService: TranslateService
|
private translateService: TranslateService
|
||||||
) {
|
) {
|
||||||
const protocol = window.location.protocol || "http:";
|
const protocol = window.location.protocol;
|
||||||
const host = window.location.hostname;
|
const host = window.location.hostname;
|
||||||
let port: string;
|
let port: string;
|
||||||
if (environment.production) {
|
if (environment.production) {
|
||||||
|
Loading…
Reference in New Issue
Block a user