tweak /umbraco/view/web.config to only block cshtml, so the *.html files can be downloaded

This commit is contained in:
Shannon
2018-05-30 16:29:16 +10:00
parent 6e2222d357
commit 685a052339

View File

@@ -34,7 +34,7 @@
<system.webServer>
<handlers>
<remove name="BlockViewHandler"/>
<add name="BlockViewHandler" path="*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
<add name="BlockViewHandler" path="*.cshtml" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" />
</handlers>
</system.webServer>