Compare commits

..

No commits in common. "3898463bc426c89dcfe245061e96b8ae777054d1" and "ab660f69c81f1f20881eaacc6cf6a8668aa865ee" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -76,7 +76,6 @@ jobs:
-e SECURITY_HASH_TOKEN=$SECURITY_HASH_TOKEN \ -e SECURITY_HASH_TOKEN=$SECURITY_HASH_TOKEN \
-e SECURITY_SALT_SIZE=$SECURITY_SALT_SIZE \ -e SECURITY_SALT_SIZE=$SECURITY_SALT_SIZE \
-e ACTUAL_SUB_PATH=api \ -e ACTUAL_SUB_PATH=api \
-e SWAGGER_SUB_PATH=swagger \
$DOCKER_IMAGE $DOCKER_IMAGE
" "

View File

@ -61,7 +61,7 @@ public static class SwaggerConfiguration
app.UseSwagger(); app.UseSwagger();
app.UseSwaggerUI(options => app.UseSwaggerUI(options =>
{ {
options.InjectStylesheet($"{UrlHelper.GetSubPath}css/swagger/SwaggerDark.css"); options.InjectStylesheet("/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)