Open selvam-rhce opened 5 years ago
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.
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.