From 8c881da01c261b668ee422cc4149e3d805e27609 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Wed, 17 Mar 2021 19:17:59 -0400 Subject: [PATCH] whoops --- lib/philomena_web/plugs/content_security_policy_plug.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/philomena_web/plugs/content_security_policy_plug.ex b/lib/philomena_web/plugs/content_security_policy_plug.ex index 6f45da81..5959dfd7 100644 --- a/lib/philomena_web/plugs/content_security_policy_plug.ex +++ b/lib/philomena_web/plugs/content_security_policy_plug.ex @@ -32,6 +32,7 @@ defmodule PhilomenaWeb.ContentSecurityPolicyPlug do {:form_action, ["'self'"]}, {:manifest_src, ["'self'"]}, {:img_src, ["'self'", "data:", cdn_uri, camo_uri]}, + {:media_src, ["'self'", "data:", cdn_uri, camo_uri]}, {:block_all_mixed_content, []} ]