Skip to content

Commit

Permalink
drop environments, already set defaultConfiguration in angular.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuj committed Jan 28, 2025
1 parent a37f844 commit b330408
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
3 changes: 0 additions & 3 deletions frontend/src/environments/environment.prod.ts

This file was deleted.

16 changes: 0 additions & 16 deletions frontend/src/environments/environment.ts

This file was deleted.

11 changes: 3 additions & 8 deletions frontend/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

import { AppModule } from './app/app.module';
import { environment } from './environments/environment';

if (environment.production) {
enableProdMode();
}

platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
platformBrowserDynamic()
.bootstrapModule(AppModule)
.catch((err) => console.error(err));

0 comments on commit b330408

Please sign in to comment.