Skip to content

Commit

Permalink
remove X-Frame-Options=SAMEORIGIN header to match gnomad browser, and…
Browse files Browse the repository at this point in the history
… to allow embedding in other portals
  • Loading branch information
bw2 committed Mar 21, 2017
1 parent 01fd36d commit a212465
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions exac.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,13 +922,6 @@ def read_viz_files(path):
return rv


@app.after_request
def apply_caching(response):
# prevent click-jacking vulnerability identified by BITs
response.headers["X-Frame-Options"] = "SAMEORIGIN"
return response


if __name__ == "__main__":
runner = Runner(app) # adds Flask command line options for setting host, port, etc.
runner.run()

0 comments on commit a212465

Please sign in to comment.