Skip to content

Commit

Permalink
CMR-6839: Fixed CMR API documentation page to work with 'X-Content-Ty…
Browse files Browse the repository at this point in the history
…pe-Options nosniff' header.
  • Loading branch information
ygliuvt committed Oct 23, 2020
1 parent 486f6b8 commit 4cb3952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common-app-lib/src/cmr/common_app/static.clj
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@
site-example-provider (get site-provider-map (headers "host") "PROV1")
cmr-example-collection-id (str "C1234567-" site-example-provider)]
{:status 200
:headers {"Content-Type" "text/html; charset=utf-8"}
:body (-> resource
slurp
(string/replace "%CMR-ENDPOINT%" cmr-root)
Expand Down

0 comments on commit 4cb3952

Please sign in to comment.