fix up project
This commit is contained in:
parent
3ec7ceac02
commit
81a90a49b3
|
@ -59,7 +59,11 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
{
|
{
|
||||||
// Don't apply any caching for html pages
|
// Don't apply any caching for html pages
|
||||||
// jQuery ajax doesn't seem to handle if-modified-since correctly
|
// 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)
|
if (path.IndexOf("thirdparty", StringComparison.OrdinalIgnoreCase) == -1)
|
||||||
{
|
{
|
||||||
|
|
|
@ -231,6 +231,9 @@
|
||||||
<Content Include="dashboard-ui\thirdparty\apiclient\connectservice.js">
|
<Content Include="dashboard-ui\thirdparty\apiclient\connectservice.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\thirdparty\cordova\android\androidcredentials.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\thirdparty\cordova\android\iap.js">
|
<Content Include="dashboard-ui\thirdparty\cordova\android\iap.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user