2
0
Luke Pulverenti 10 жил өмнө
parent
commit
ecc6df0b71

+ 1 - 0
MediaBrowser.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpListener.cs

@@ -154,6 +154,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer.SocketSharp
                 else
                 {
                     _logger.Warn("Web socket connection not allowed");
+                    ctx.Response.StatusCode = 401;
                     ctx.Response.Close();
                 }
             }

+ 3 - 1
MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

@@ -144,7 +144,9 @@
     <Content Include="dashboard-ui\scripts\syncjob.js">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
-    <Content Include="dashboard-ui\scripts\syncservices.js" />
+    <Content Include="dashboard-ui\scripts\syncservices.js">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="dashboard-ui\scripts\syncsettings.js">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>