Skip to content

Commit

Permalink
Add URL to comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
zorn committed Sep 6, 2024
1 parent e96c45c commit 7488822
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/flick_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ defmodule FlickWeb.Router do

# Tailwind uses SVG data URLs for icons,
# so we need to allow them with `img-src`.
# https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
plug :put_secure_browser_headers, %{
"content-security-policy" => "default-src 'self'; img-src 'self' data:"
}
Expand Down

0 comments on commit 7488822

Please sign in to comment.