Skip to content
This repository has been archived by the owner on Mar 19, 2018. It is now read-only.

missing javascript include? #5

Open
ghost opened this issue Jan 4, 2015 · 3 comments
Open

missing javascript include? #5

ghost opened this issue Jan 4, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 4, 2015

This is showing in my javascript console when using the martini version of miniprofiler:
GET http://localhost:5000/mini-profiler-resources/includes.js?v=3.0.11

@maddyblue
Copy link
Member

Was this fixed by the recent PR? Can it be closed?

@ghost
Copy link
Author

ghost commented Jan 8, 2015

Not really sure what's missing's from the helper library for martini but this is the result for the browser:
GET http://localhost:5000/mini-profiler-resources/includes.js?v=3.0.11
I'm assuming that that folder is not being registered in the martini helper library.

@viblo
Copy link

viblo commented Sep 15, 2015

I have the same problem with revel. I think its because miniprofiler.MiniProfilerHandler(...) is called directly from the revel helper function, so that the miniprofiler.PATH prefix is not removed. For the normal handler http.StripPrefix() is used in init to setup the handler, but apparently that is not used by revel (or martini)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants