Skip to content

Commit 44fdbf5

Browse files
committed
chore: update content security policy
1 parent e16e671 commit 44fdbf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/algora_web/router.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmodule AlgoraWeb.Router do
1616
plug :fetch_current_country
1717
plug :put_root_layout, {AlgoraWeb.Layouts, :root}
1818
plug :protect_from_forgery
19-
plug :put_secure_browser_headers
19+
plug :put_secure_browser_headers, %{"content-security-policy" => "default-src 'self'"}
2020
end
2121

2222
pipeline :api do

0 commit comments

Comments
 (0)