Skip to content

Commit

Permalink
fix(demo): makes sure locahost is displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Mar 1, 2024
1 parent e5649a6 commit 3982c94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export class DemoAppHeaderElement extends HTMLElement {
}

public connectedCallback(): void {
if (window.location.href.includes('localhost')) {
if (window.location.href.includes(':4200')) {
const optionEl = document.createElement('option');
optionEl.textContent = 'localhost';
this.implSelectEl.appendChild(optionEl);
Expand Down

0 comments on commit 3982c94

Please sign in to comment.