aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-08 20:04:06 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-03-08 20:04:06 -0400
commitecc6df0b710d0a522b769b4744ec45ea9ed1d35b (patch)
treee7819deee08a10ba9887a91d60bc406f136cb74a
parent19c95ff61b55c8eb046cf60f809e8f4f7c6c949c (diff)
fix missing file
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpListener.cs1
-rw-r--r--MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj4
2 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpListener.cs b/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpListener.cs
index a223cf68d..534d6aff1 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpListener.cs
+++ b/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();
}
}
diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj
index cc62af5c6..c02eb5848 100644
--- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj
+++ b/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>