Code Monkey home page Code Monkey logo

Comments (12)

SamSaffron avatar SamSaffron commented on July 4, 2024 2

Yes we are aware of this @OsamaSayegh is investigating a fix here.

from rack-mini-profiler.

steverob avatar steverob commented on July 4, 2024 1

I added this - headers['Access-Control-Expose-Headers'] = 'X-MiniProfiler-Ids', still does not seem to work at all.

screenshot from 2016-07-02 17 10 53

from rack-mini-profiler.

ahmedgalal1 avatar ahmedgalal1 commented on July 4, 2024 1

Add this header to response "Access-Control-Expose-Headers"

Response.AddHeader("Access-Control-Expose-Headers", "X-MiniProfiler-Ids");

from rack-mini-profiler.

diffractometer avatar diffractometer commented on July 4, 2024

I'm seeing this anyone else?

from rack-mini-profiler.

covaithe avatar covaithe commented on July 4, 2024

I started seeing this when using angular with cross origin resources and CORS. See for example http://jaketrent.com/post/expose-http-headers-in-cors/

from rack-mini-profiler.

steverob avatar steverob commented on July 4, 2024

Yeah. Any solution for this?

from rack-mini-profiler.

kbrock avatar kbrock commented on July 4, 2024

This looks like it will need to tie into cors of the main app.
Or at least provide partial cors support for at least own responses

from rack-mini-profiler.

kbrock avatar kbrock commented on July 4, 2024

@steverob What gem are you using that introduced cors?
I wonder if we can detect this gem and add a rule for this page

from rack-mini-profiler.

justin808 avatar justin808 commented on July 4, 2024

I'm using rack-cors and the following line did not work:

    headers["Access-Control-Expose-Headers"] = "X-MiniProfiler-Ids"

from rack-mini-profiler.

elliottmason avatar elliottmason commented on July 4, 2024

For me, this error seems to stem from using Invoker. Not entirely sure how Invoker operates, but it's like it's proxying <domain>.<tld> to localhost:<port>. If I access my app's dev server through localhost: there is no error, which makes sense. There's something Invoker must be doing or not doing differently compared to e.g. puma-dev or pow.

Can't speak for everyone's situation though.

from rack-mini-profiler.

gencer avatar gencer commented on July 4, 2024

Don't like the +1's but Seeing the same error.

from rack-mini-profiler.

OsamaSayegh avatar OsamaSayegh commented on July 4, 2024

This was fixed in d62736e.

from rack-mini-profiler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.