loic-sharma / BaGet

A lightweight NuGet and symbol server
https://loic-sharma.github.io/BaGet/
MIT License
2.58k stars 644 forks source link

Move configs into “BaGet” section #703

Open loic-sharma opened 2 years ago

loic-sharma commented 2 years ago

Is your feature request related to a problem? Please describe.

You should be able to embed BaGet into an existing web app without clobbering options. Currently BaGet has config keys like Database and Storage that are likely to conflict with other web apps' configs.

Describe the solution you'd like

BaGet's configs should be nested in a section. For example:

{
  "BaGet": {
    "Database": { ... },
    "Storage": { ... }
  }
}