浏览代码

allow for injectable server discovery

Luke Pulverenti 10 年之前
父节点
当前提交
72f00ebf2d

+ 1 - 0
MediaBrowser.WebDashboard/Api/PackageCreator.cs

@@ -292,6 +292,7 @@ namespace MediaBrowser.WebDashboard.Api
                 "thirdparty/apiclient/deferred.js",
                 "thirdparty/apiclient/mediabrowser.apiclient.js",
                 "thirdparty/apiclient/connectservice.js",
+                "thirdparty/apiclient/serverdiscovery.js",
                 "thirdparty/apiclient/connectionmanager.js"
             })
             {

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

@@ -936,6 +936,9 @@
     <Content Include="dashboard-ui\thirdparty\apiclient\network.js">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
+    <Content Include="dashboard-ui\thirdparty\apiclient\serverdiscovery.js">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="dashboard-ui\thirdparty\apiclient\sha1.js">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>