Skip to content

Commit a528b9d

Browse files
committed
Allow .map files as default browsable file extensions from the App_Plugins static file handler.
1 parent cd596b4 commit a528b9d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Umbraco.Core/Configuration/Models/UmbracoPluginSettings.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ namespace Umbraco.Cms.Core.Configuration.Models
1111
[UmbracoOptions(Constants.Configuration.ConfigPlugins)]
1212
public class UmbracoPluginSettings
1313
{
14-
15-
1614
/// <summary>
1715
/// Gets or sets the allowed file extensions (including the period ".") that should be accessible from the browser.
1816
/// </summary>
@@ -25,7 +23,8 @@ public class UmbracoPluginSettings
2523
".jpg", ".jpeg", ".gif", ".png", ".svg", // images
2624
".eot", ".ttf", ".woff", // fonts
2725
".xml", ".json", ".config", // configurations
28-
".lic" // license
26+
".lic", // license
27+
".map" // js map files
2928
});
3029
}
3130
}

0 commit comments

Comments
 (0)