mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
enable default appsettings for self hosted installs (#1263)
* enable default appsettings for self hosted installs * change setters to use arrow functions * fix tests * fix global settings ref
This commit is contained in:
@ -13,6 +13,7 @@ namespace Bit.Api
|
||||
{
|
||||
Host
|
||||
.CreateDefaultBuilder(args)
|
||||
.ConfigureCustomAppConfiguration(args)
|
||||
.ConfigureWebHostDefaults(webBuilder =>
|
||||
{
|
||||
webBuilder.UseStartup<Startup>();
|
||||
|
20
src/Api/appsettings.SelfHosted.json
Normal file
20
src/Api/appsettings.SelfHosted.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"globalSettings": {
|
||||
"baseServiceUri": {
|
||||
"vault": null,
|
||||
"api": null,
|
||||
"identity": null,
|
||||
"admin": null,
|
||||
"notifications": null,
|
||||
"sso": null,
|
||||
"portal": null,
|
||||
"internalNotifications": null,
|
||||
"internalAdmin": null,
|
||||
"internalIdentity": null,
|
||||
"internalApi": null,
|
||||
"internalVault": null,
|
||||
"internalSso": null,
|
||||
"internalPortal": null
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user