Skip to content

Mesos Chronos: Not able to add response headers #895

Description

@selvam-rhce

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions