Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/388fe236c5b5666eb7ac37cd594e67354c714c2c
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
12 additions and
0 deletions
@ -39,12 +39,14 @@ namespace Jellyfin.Server.Extensions
c . DocumentTitle = "Jellyfin API" ;
c . SwaggerEndpoint ( $"/{baseUrl}api-docs/openapi.json" , "Jellyfin API" ) ;
c . RoutePrefix = $"{baseUrl}api-docs/swagger" ;
c . InjectStylesheet ( $"/{baseUrl}api-docs/swagger/custom.css" ) ;
} )
. UseReDoc ( c = >
{
c . DocumentTitle = "Jellyfin API" ;
c . SpecUrl ( $"/{baseUrl}api-docs/openapi.json" ) ;
c . RoutePrefix = $"{baseUrl}api-docs/redoc" ;
c . InjectStylesheet ( $"/{baseUrl}api-docs/redoc/custom.css" ) ;
} ) ;
}
@ -64,4 +64,13 @@
<ProjectReference Include= "..\Jellyfin.Server.Implementations\Jellyfin.Server.Implementations.csproj" />
</ItemGroup>
<ItemGroup >
<None Update= "wwwroot\api-docs\swagger\custom.css" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</None>
<None Update= "wwwroot\api-docs\redoc\custom.css" >
<CopyToOutputDirectory > PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
@ -112,6 +112,7 @@ namespace Jellyfin.Server
app . UseHttpsRedirection ( ) ;
}
app . UseStaticFiles ( ) ;
app . UseAuthentication ( ) ;
app . UseJellyfinApiSwagger ( _serverConfigurationManager ) ;
app . UseRouting ( ) ;