Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mesos Chronos: Not able to add response headers #895

Open
selvam-rhce opened this issue Oct 23, 2019 · 0 comments
Open

Mesos Chronos: Not able to add response headers #895

selvam-rhce opened this issue Oct 23, 2019 · 0 comments

Comments

@selvam-rhce
Copy link

Hi All,

Chronos Version : 2.5.0

We are using mesos chronos 2.5.0 on production,

We are trying to add a response header for Chronos Web UI requests.

eg: I have added
response.addHeader(“X-FRAME-OPTIONS”, “DENY”); into CorsFilter.scala

But it only works for /scheduler/* requests. i want the same for /* requests too.

I looked into mesosphere.chaos.http package and found the assets(index.html) are served from DefaultServelet ( correct me if I'm wrong )

It would be better if anyone show me the way to add response headers for all requests.

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

No branches or pull requests

1 participant