fix: path to wwwroot
This commit is contained in:
parent
ab660f69c8
commit
279ca9647b
@ -61,7 +61,7 @@ public static class SwaggerConfiguration
|
|||||||
app.UseSwagger();
|
app.UseSwagger();
|
||||||
app.UseSwaggerUI(options =>
|
app.UseSwaggerUI(options =>
|
||||||
{
|
{
|
||||||
options.InjectStylesheet("/css/swagger/SwaggerDark.css");
|
options.InjectStylesheet($"{UrlHelper.GetSubPath}css/swagger/SwaggerDark.css");
|
||||||
var provider = services.GetService<IApiVersionDescriptionProvider>();
|
var provider = services.GetService<IApiVersionDescriptionProvider>();
|
||||||
|
|
||||||
foreach (var description in provider!.ApiVersionDescriptions)
|
foreach (var description in provider!.ApiVersionDescriptions)
|
||||||
|
Loading…
Reference in New Issue
Block a user