Skip to content

Commit

Permalink
chore(demo): do not ddos free github api from localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Nov 27, 2024
1 parent b2ae594 commit 04c3586
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 04c3586

Please sign in to comment.