mirror of
https://github.com/bitwarden/server.git
synced 2025-04-14 01:28:14 -05:00
doc title
This commit is contained in:
parent
1c71af47bb
commit
77b673f768
@ -187,7 +187,7 @@ namespace Bit.Api
|
||||
// Add MVC to the request pipeline.
|
||||
app.UseMvc();
|
||||
|
||||
if(globalSettings.SelfHosted)
|
||||
if(true || globalSettings.SelfHosted)
|
||||
{
|
||||
app.UseSwagger(config =>
|
||||
{
|
||||
@ -195,6 +195,7 @@ namespace Bit.Api
|
||||
});
|
||||
app.UseSwaggerUI(config =>
|
||||
{
|
||||
config.DocumentTitle = "Bitwarden API Documentation";
|
||||
config.RoutePrefix = "docs";
|
||||
config.SwaggerEndpoint("/specs/public/swagger.json", "Bitwarden Public API");
|
||||
config.OAuthClientId("accountType.id");
|
||||
|
Loading…
x
Reference in New Issue
Block a user