소스 검색

allow for injectable server discovery

Luke Pulverenti 10 년 전
부모
커밋
72f00ebf2d
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      MediaBrowser.WebDashboard/Api/PackageCreator.cs
  2. 3 0
      MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

+ 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>