1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-14 01:28:14 -05:00

doc title

This commit is contained in:
Kyle Spearrin 2019-02-28 14:25:47 -05:00
parent 1c71af47bb
commit 77b673f768

View File

@ -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");