Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mvc Mini Profiler requests for files with and without RouteBasePath

This is driving me crazy, I'm testing my app with both Firefox and IE, on Firefox works just fine, but on IE mini profiling is making these 5 requests

/Content/mvc-mini-profiler/mini-profiler-includes.css?v=1.9.0.0

/Content/mvc-mini-profiler/mini-profiler-includes.js?v=1.9.0.0

/Content/mvc-mini-profiler/mini-profiler-jquery.tmpl.beta1.js

/mini-profiler-includes.css?v=1.9.0.0

/mini-profiler-includes.js?v=1.9.0.0

I put the RouteBasePath to be ~/Content/mvc-mini-profiler but for some reason is also making requests without it.

Am I doing something wrong or is this some kind of bug?

Thanks.

like image 602
Paleta Avatar asked Mar 28 '12 18:03

Paleta


1 Answers

For the last two

/mini-profiler-includes.css?v=1.9.0.0

/mini-profiler-includes.js?v=1.9.0.0

View the source and make sure you don't have any script or link elements with those urls in the src or href attributes. That would make a request to the server without your base url.

like image 189
Scott Terry Avatar answered Nov 16 '22 01:11

Scott Terry