Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi I have created bundles after this article https://our.umbraco.com/forum/umbraco-8/96341-onapplicationstarted-umbraco-8
My bundles return 404 but I can browse the files, have I missed something
I have added in webconfig
<add key="umbracoReservedPaths" value="~/umbraco,~/install/,~/bundles/" />
<remove name="BundleModule" />
<add name="BundleModule" type="System.Web.Optimization.BundleModule" />
When does you get the 404? Is it when you try to render the bundle in a cshtml file? In that case how do you render the scripts in the cshtml?
Thanks for helping me, I render the bundle in master
I have solved the issue, added this in web.config
<add key="Umbraco.Core.ReservedUrls" value="~/bundles/" />
Strange, i did not have to reserve the url.. Well good thing it works :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted