Skip to content

Commit

Permalink
refactor: update pwa configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
geromegrignon committed May 8, 2024
1 parent e09c839 commit b232449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions angular-hub/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@
"outputPath": "dist/angular-hub/client",
"tsConfig": "angular-hub/tsconfig.app.json",
"serviceWorker": true,
"ngswConfigPath": "angular-hub/ngsw-config.json",
"assets": [
"angular-hub/src/favicon.ico",
"angular-hub/src/assets",
"angular-hub/src/manifest.webmanifest"
]
"ngswConfigPath": "angular-hub/ngsw-config.json"
},
"defaultConfiguration": "production",
"configurations": {
Expand Down
2 changes: 1 addition & 1 deletion angular-hub/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class AppComponent {

constructor() {
afterNextRender(() => {
// this.#pwaService.initPwaPrompt();
this.#pwaService.initPwaPrompt();
this.#router.events
.pipe(
filter((event) => event instanceof NavigationEnd),
Expand Down

0 comments on commit b232449

Please sign in to comment.