【发布时间】:2013-07-16 20:48:16
【问题描述】:
我的 IIS (7.5) 不允许下载 mustache 文件。然后我将它添加到允许的扩展名中,然后不下载 js 文件。有人知道为什么吗?? 当我添加以允许下载时,这是写在 web.config 中的
<staticContent>
<mimeMap fileExtension=".mustache" mimeType="text/html" />
</staticContent>
然后下载 mustache 文件但不下载 js 文件。 我的应用程序是一个 aspnet 4.5 的。 谢谢!吉列尔莫。
【问题讨论】:
-
当您查看浏览器 F12 调试工具时,您是否看到 .js 文件被 404 或其他?
标签: asp.net iis-7 iis-7.5 mustache