mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
fix
This commit is contained in:
parent
b7e13d255e
commit
bd23b5328c
@ -147,12 +147,9 @@ var app = builder.Build();
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI(settings =>
|
||||
{
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
settings.OAuthClientId(builder.Configuration.GetValue<string>("Auth0:ClientId"));
|
||||
settings.OAuthClientSecret(builder.Configuration.GetValue<string>("Auth0:ClientSecret"));
|
||||
settings.OAuthUsePkce();
|
||||
}
|
||||
settings.OAuthClientId(builder.Configuration.GetValue<string>("Auth0:ClientId"));
|
||||
settings.OAuthClientSecret(builder.Configuration.GetValue<string>("Auth0:ClientSecret"));
|
||||
settings.OAuthUsePkce();
|
||||
});
|
||||
var defaultFilesOptions = new DefaultFilesOptions();
|
||||
defaultFilesOptions.DefaultFileNames.Clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user