Skip to content

Commit 0520f85

Browse files
committed
[FIXED #72] duplicate mimetype entry
1 parent fb4714c commit 0520f85

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

yaf_dnn/Installation/YAF.DotNetNuke.Module.dnn

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<dotnetnuke type="Package" version="5.0">
22
<packages>
3-
<package name="YetAnotherForumDotNet" type="Module" version="03.15.006110">
3+
<package name="YetAnotherForumDotNet" type="Module" version="03.15.006111">
44
<friendlyName>YAF.NET Forums</friendlyName>
55
<description>
66
&lt;strong&gt;YetAnotherForum.NET&lt;/strong&gt; as DNN Module. Yet Another Forum.NET (YAF) is an open source ASP.NET forum system.&lt;br /&gt;
@@ -70,7 +70,7 @@
7070
<attributes>
7171
<businessControllerClass>YAF.DotNetNuke.Components.Controllers.UpgradeController, YAF.DotNetNuke.Module</businessControllerClass>
7272
<desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
73-
<upgradeVersionsList>03.00.006100,03.13.006107,03.15.006109,03.15.006110</upgradeVersionsList>
73+
<upgradeVersionsList>03.00.006100,03.13.006107,03.15.006109,03.15.006110,03.15.006111</upgradeVersionsList>
7474
</attributes>
7575
</eventMessage>
7676
</component>
@@ -369,8 +369,11 @@
369369
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
370370
<remove fileExtension=".woff2" />
371371
<mimeMap fileExtension=".woff2" mimeType="font/woff2" />
372-
<mimeMap fileExtension=".json" mimeType="application/json" />
373-
</node>
372+
</node>
373+
<node path="/configuration/system.webServer/staticContent/mimeMap[@fileExtension='.json']" action="remove" />
374+
<node path="/configuration/system.webServer/staticContent" action="add" key="mimeMap" collision="overwrite">
375+
<mimeMap fileExtension=".json" mimeType="application/json" />
376+
</node>
374377
<node path="/configuration/system.webServer/handlers" action="update" key="name" collision="overwrite">
375378
<add name="YafHandler" preCondition="integratedMode" verb="GET" path="Resource.ashx" type="YAF.Core.Handlers.ResourceHandler, YAF.Core" />
376379
<add name="FileUploader"
@@ -514,7 +517,7 @@
514517
</component>
515518
</components>
516519
</package>
517-
<package name="YAF.WhatsNew" type="Module" version="03.15.006110">
520+
<package name="YAF.WhatsNew" type="Module" version="03.15.006111">
518521
<friendlyName>YAF.NET Forums What's New</friendlyName>
519522
<description>
520523
&lt;p&gt;This Module displays the Latest Posts from a &lt;strong&gt;YetAnotherForum.NET&lt;/strong&gt; Module. Based on the Current Users Authorization Level. You can define Which Forum should been used, and how many Posts should displayed.
@@ -601,7 +604,7 @@
601604
</component>
602605
</components>
603606
</package>
604-
<package name="bootstrap-bundle" type="JavaScript_Library" version="05.13.006110">
607+
<package name="bootstrap-bundle" type="JavaScript_Library" version="05.13.006111">
605608
<friendlyName>Bootstrap v5.1.3 JavaScript Bundle (width Popper.js)</friendlyName>
606609
<description>
607610
<![CDATA[<p>Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created and maintained by <a href="http://twitter.com/mdo">Mark Otto</a> and <a href="http://twitter.com/fat">Jacob Thornton</a>.</p>

0 commit comments

Comments
 (0)