The Free Software Media System - Server Backend & API
Backport pull request #15055 from jellyfin/release-10.11.z
gnattu9f8fb6d5886a
diff --git a/Jellyfin.Server/ServerSetupApp/SetupServer.cs b/Jellyfin.Server/ServerSetupApp/SetupServer.csindex 72626e8532..00d9fcc025 100644--- a/Jellyfin.Server/ServerSetupApp/SetupServer.cs+++ b/Jellyfin.Server/ServerSetupApp/SetupServer.cs@@ -250,6 +250,7 @@ public sealed class SetupServer : IDisposable{ "isInReportingMode", _isUnhealthy },{ "retryValue", retryAfterValue },{ "logs", startupLogEntries },+ { "networkManagerReady", networkManager is not null },{ "localNetworkRequest", networkManager is not null && context.Connection.RemoteIpAddress is not null && networkManager.IsInLocalNetwork(context.Connection.RemoteIpAddress) }},new ByteCounterStream(context.Response.BodyWriter.AsStream(), IODefaults.FileStreamBufferSize, true, _startupUiRenderer.ParserOptions))diff --git a/Jellyfin.Server/ServerSetupApp/index.mstemplate.html b/Jellyfin.Server/ServerSetupApp/index.mstemplate.htmlindex 523f38d74a..9ec6efa2b9 100644--- a/Jellyfin.Server/ServerSetupApp/index.mstemplate.html+++ b/Jellyfin.Server/ServerSetupApp/index.mstemplate.html@@ -213,7 +213,12 @@</ol></div>{{#ELSE}}+ {{#IF networkManagerReady}}<p>Please visit this page from your local network to view detailed startup logs.</p>+ {{#ELSE}}+ <p>Initializing network settings. Please wait.</p>+ {{/ELSE}}+ {{/IF}}{{/ELSE}}{{/IF}}</div>