mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-28 23:51:58 +02:00
Backport pull request #15055 from jellyfin/release-10.11.z
Log the message more clear when network manager is not ready
Original-merge: a245605152
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
parent
cee16d47cb
commit
9f8fb6d588
2 changed files with 6 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue