diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-28 22:53:05 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-28 22:53:05 -0400 |
| commit | 81a90a49b371051aaa066c5ac8d0a0c44e6d5065 (patch) | |
| tree | e0acfbaa4eaac1ffe8776bf283f4da648d0da4d2 | |
| parent | 3ec7ceac0282e21219b6a8da858375e82700c595 (diff) | |
fix up project
| -rw-r--r-- | MediaBrowser.WebDashboard/Api/PackageCreator.cs | 6 | ||||
| -rw-r--r-- | MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/MediaBrowser.WebDashboard/Api/PackageCreator.cs b/MediaBrowser.WebDashboard/Api/PackageCreator.cs index a2afaaa7a..ec34a0cd0 100644 --- a/MediaBrowser.WebDashboard/Api/PackageCreator.cs +++ b/MediaBrowser.WebDashboard/Api/PackageCreator.cs @@ -59,7 +59,11 @@ namespace MediaBrowser.WebDashboard.Api { // Don't apply any caching for html pages // jQuery ajax doesn't seem to handle if-modified-since correctly - if (IsFormat(path, "js")) + if (IsFormat(path, "html")) + { + resourceStream = await ModifyHtml(resourceStream, mode, localizationCulture, enableMinification).ConfigureAwait(false); + } + else if (IsFormat(path, "js")) { if (path.IndexOf("thirdparty", StringComparison.OrdinalIgnoreCase) == -1) { diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj index f731c4737..121ee2e71 100644 --- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj +++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj @@ -231,6 +231,9 @@ <Content Include="dashboard-ui\thirdparty\apiclient\connectservice.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
+ <Content Include="dashboard-ui\thirdparty\cordova\android\androidcredentials.js">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
<Content Include="dashboard-ui\thirdparty\cordova\android\iap.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
|
