Skip to content

Commit

Permalink
chore(demo): do not ddos free github api from localhost (#9850)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Nov 27, 2024
1 parent a515c2c commit 1c22ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/demo/src/modules/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class App extends AbstractDemo implements OnInit {
public override async ngOnInit(): Promise<void> {
await super.ngOnInit();

if (this.isServer || this.isE2E) {
if (this.isServer || this.isE2E || !environment.production) {
return;
}

Expand Down

0 comments on commit 1c22ae3

Please sign in to comment.