File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ and this project adheres to
22
22
- Add test gauge metric that can be used to set arbitrary values for the purposes
23
23
of triggering behaviour in metric consumers.
24
24
[ 3510] ( https://github.com/OpenFn/lightning/issues/3510 )
25
+ - Enable X-Content-Type-Options header for static pages.
26
+ [ #3534 ] ( https://github.com/OpenFn/lightning/issues/3534 )
25
27
26
28
### Changed
27
29
Original file line number Diff line number Diff line change @@ -36,7 +36,10 @@ defmodule LightningWeb.Endpoint do
36
36
at: "/" ,
37
37
from: :lightning ,
38
38
gzip: true ,
39
- only: LightningWeb . static_paths ( )
39
+ only: LightningWeb . static_paths ( ) ,
40
+ headers: [
41
+ { "x-content-type-options" , "nosniff" }
42
+ ]
40
43
41
44
if Code . ensure_loaded? ( Tidewave ) do
42
45
plug Tidewave
You can’t perform that action at this time.
0 commit comments