瀏覽代碼

Updated dev build profile.

Removed Deflate from compression module.
tags/3.0.0
Teknikode 1 年之前
父節點
當前提交
8f0a3218f5
共有 2 個檔案被更改,包括 2 行新增7 行删除
  1. 0
    5
      Teknik/Modules/CompressionModule.cs
  2. 2
    2
      Teknik/Properties/PublishProfiles/Teknik Dev.pubxml

+ 0
- 5
Teknik/Modules/CompressionModule.cs 查看文件

@@ -29,11 +29,6 @@ namespace Teknik.Modules
response.AppendHeader("Content-Encoding", "gzip");
response.Filter = new GZipStream(response.Filter, CompressionMode.Compress);
}
else if (encodingsAccepted.Contains("deflate"))
{
response.AppendHeader("Content-Encoding", "deflate");
response.Filter = new DeflateStream(response.Filter, CompressionMode.Compress);
}
};
}
}

+ 2
- 2
Teknik/Properties/PublishProfiles/Teknik Dev.pubxml 查看文件

@@ -12,10 +12,10 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<SiteUrlToLaunchAfterPublish>https://dev.teknik.io/</SiteUrlToLaunchAfterPublish>
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>True</ExcludeApp_Data>
<MSDeployServiceURL>rom1.teknik.io:8172</MSDeployServiceURL>
<MSDeployServiceURL>ams1.teknik.io:8172</MSDeployServiceURL>
<DeployIisAppPath>TeknikDev</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>False</SkipExtraFilesOnServer>
<SkipExtraFilesOnServer>True</SkipExtraFilesOnServer>
<MSDeployPublishMethod>WMSVC</MSDeployPublishMethod>
<EnableMSDeployBackup>True</EnableMSDeployBackup>
<UserName>Administrator</UserName>

Loading…
取消
儲存