ソースを参照

Only show log in Local network (#14241)

JPVenson 1 週間 前
コミット
1f5cfb1e23
1 ファイル変更5 行追加0 行削除
  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>