Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ and this project adheres to

### Changed

- Enable X-Content-Type-Options header for static pages.
[#3534](https://github.com/OpenFn/lightning/issues/3534)

### Fixed

## [v2.14.3-pre1] - 2025-08-22
Expand Down
5 changes: 4 additions & 1 deletion lib/lightning_web/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ defmodule LightningWeb.Endpoint do
at: "/",
from: :lightning,
gzip: true,
only: LightningWeb.static_paths()
only: LightningWeb.static_paths(),
headers: [
{"x-content-type-options", "nosniff"}
]

if Code.ensure_loaded?(Tidewave) do
plug Tidewave
Expand Down