Skip to content

Commit e4e9e12

Browse files
committed
Changed bundle and released.
1 parent 79f2049 commit e4e9e12

File tree

3 files changed

+20
-11
lines changed

3 files changed

+20
-11
lines changed

src/EventCloud.Web/App_Start/BundleConfig.cs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ public static void RegisterBundles(BundleCollection bundles)
1313
//~/Bundles/App/vendor/css
1414
bundles.Add(
1515
new StyleBundle("~/Bundles/App/vendor/css")
16-
.Include(
17-
"~/Content/themes/base/all.css",
18-
"~/Content/bootstrap-cosmo.min.css",
19-
"~/Content/toastr.min.css",
20-
"~/Scripts/sweetalert/sweet-alert.css",
21-
"~/Content/flags/famfamfam-flags.css",
22-
"~/Content/font-awesome.min.css"
23-
)
16+
.Include("~/Content/themes/base/all.css", new CssRewriteUrlTransform())
17+
.Include("~/Content/bootstrap-cosmo.min.css", new CssRewriteUrlTransform())
18+
.Include("~/Content/toastr.min.css", new CssRewriteUrlTransform())
19+
.Include("~/Scripts/sweetalert/sweet-alert.css", new CssRewriteUrlTransform())
20+
.Include("~/Content/flags/famfamfam-flags.css", new CssRewriteUrlTransform())
21+
.Include("~/Content/font-awesome.min.css", new CssRewriteUrlTransform())
2422
);
2523

2624
//~/Bundles/App/vendor/js

src/EventCloud.Web/EventCloud.Web.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@
435435
<DependentUpon>main.css</DependentUpon>
436436
</Content>
437437
<Content Include="App\Main\views\events\createDialog.cshtml" />
438+
<None Include="Properties\PublishProfiles\Publish_Release_FileSystem.pubxml" />
438439
<None Include="Scripts\jquery-2.1.4.intellisense.js" />
439440
<Content Include="Scripts\i18n\angular-locale_aa-dj.js" />
440441
<Content Include="Scripts\i18n\angular-locale_aa-er.js" />

src/EventCloud.Web/Web.config

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<configuration>
77
<configSections>
88
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
9-
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections>
9+
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
10+
</configSections>
1011
<entityFramework>
1112
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
1213
<providers>
@@ -112,12 +113,21 @@
112113

113114
<system.webServer>
114115
<modules runAllManagedModulesForAllRequests="true" />
116+
117+
<staticContent>
118+
<remove fileExtension=".woff" />
119+
<remove fileExtension=".woff2" />
120+
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
121+
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
122+
</staticContent>
115123

116-
<handlers>
124+
<handlers>
117125
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
118126
<remove name="OPTIONSVerbHandler" />
119127
<remove name="TRACEVerbHandler" />
120128
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
121-
</handlers></system.webServer>
129+
</handlers>
130+
131+
</system.webServer>
122132

123133
</configuration>

0 commit comments

Comments
 (0)