mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -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:
@ -11,6 +11,7 @@ namespace Bit.Admin
|
||||
{
|
||||
Host
|
||||
.CreateDefaultBuilder(args)
|
||||
.ConfigureCustomAppConfiguration(args)
|
||||
.ConfigureWebHostDefaults(webBuilder =>
|
||||
{
|
||||
webBuilder.ConfigureKestrel(o =>
|
||||
|
20
src/Admin/appsettings.SelfHosted.json
Normal file
20
src/Admin/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