Browse Source

Only show log in Local network (#14241)

JPVenson 1 week ago
parent
commit
1f5cfb1e23
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Jellyfin.Server/ServerSetupApp/index.mstemplate.html

+ 5 - 0
Jellyfin.Server/ServerSetupApp/index.mstemplate.html

@@ -204,6 +204,7 @@
         </li>
         {{--| /DECLARE}}
 
+        {{#IF localNetworkRequest}}
         <div class="flex-col">
             <ol class="action-list">
                 {{#FOREACH log IN logs.Reverse()}}
@@ -211,6 +212,10 @@
                 {{/FOREACH}}
             </ol>
         </div>
+        {{#ELSE}}
+        <p>Please visit this page from your local network to view detailed startup logs.</p>
+        {{/ELSE}}
+        {{/IF}}
     </div>
 </body>