2
0
crobibero 5 жил өмнө
parent
commit
72745f4722

+ 2 - 1
Jellyfin.Server/Extensions/ApiApplicationBuilderExtensions.cs

@@ -17,7 +17,8 @@ namespace Jellyfin.Server.Extensions
             // Enable middleware to serve swagger-ui (HTML, JS, CSS, etc.),
             // Enable middleware to serve swagger-ui (HTML, JS, CSS, etc.),
             // specifying the Swagger JSON endpoint.
             // specifying the Swagger JSON endpoint.
             const string specEndpoint = "/swagger/v1/swagger.json";
             const string specEndpoint = "/swagger/v1/swagger.json";
-            return applicationBuilder.UseSwagger()
+            return applicationBuilder
+                .UseSwagger()
                 .UseSwaggerUI(c =>
                 .UseSwaggerUI(c =>
                 {
                 {
                     c.SwaggerEndpoint(specEndpoint, "Jellyfin API V1");
                     c.SwaggerEndpoint(specEndpoint, "Jellyfin API V1");