Skip to content

Commit

Permalink
feat: Change default to services being listed on the statistics page (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Regenhardt authored Mar 25, 2024
1 parent 94462ac commit 4851f9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,23 +216,23 @@ This can be useful if you are hosting a private feed and need to host large pack

## Statistics

On the application's statistics page the currently used services are listed.
You can hide or show this part by modifying the `EnableStatisticsPage` configuration:
On the application's statistics page the currently used services and overall package and version counts are listed.
You can hide or show this page by modifying the `EnableStatisticsPage` configuration.
If you set `ListConfiguredServices` to `false` the currently used services for database and storage (such as `Sqlite`) are omitted on the stats page:

```json
{
...

"Statistics": {
"EnableStatisticsPage": false,
"EnableStatisticsPage": true,
"ListConfiguredServices": false
},

...
}
```

If you set `ListConfiguredServices` to `true` the currently used services for database and storage are shown on the stats page.


## Load secrets from files
Expand Down
2 changes: 1 addition & 1 deletion src/BaGetter/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@

"Statistics": {
"EnableStatisticsPage": true,
"ListConfiguredServices": false
"ListConfiguredServices": true
}
}

0 comments on commit 4851f9e

Please sign in to comment.