Skip to content

Commit

Permalink
fix: some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonbeckas committed Sep 11, 2021
1 parent 5bed6b5 commit 1553fc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
},
{
"replace": "src/assets/config/config.json",
"with": "src/assets/config/config.prod.json"
}
],
"optimization": true,
Expand Down
3 changes: 1 addition & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
"start": "ng serve",
"start public": "ng serve --open --host 0.0.0.0 --disable-host-check",
"build": "ng build",
"build:productive": "ng build --prod --build-optimizer",
"test": "ng test",
"lint": "ng lint --fix",
"e2e": "ng e2e",
"buildprod": "ng build --prod",
"cd-zip": "npm run build && cd dist/Checkline && zip -r frontend.zip *"
"cd-zip": "npm run buildprod && cd dist/Checkline && zip -r frontend.zip *"
},
"private": true,
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { WelcomeComponent } from './components/welcome/welcome.component';
import {PermissionDirectiveModule} from './directives/permission-directive/permission-directive.module';
import { ClarityModule } from '@clr/angular';
import {ConfigService} from "./config/config.service";
import {ReactiveFormsModule} from "@angular/forms";

export function initializeApp(appConfig: ConfigService) {
return () => appConfig.load();
Expand All @@ -36,7 +37,7 @@ export function initializeApp(appConfig: ConfigService) {
useFactory: initializeApp,
deps: [ConfigService], multi: true }],
exports: [

ReactiveFormsModule
],
bootstrap: [AppComponent]
})
Expand Down

0 comments on commit 1553fc3

Please sign in to comment.