From d932c07b3db38b5085177afd44775822529189c7 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 28 Dec 2022 16:34:01 +0200 Subject: [PATCH] fix videos on wpd --- files/routes/allroutes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/routes/allroutes.py b/files/routes/allroutes.py index c25f1bb1e8..b1ec900df9 100644 --- a/files/routes/allroutes.py +++ b/files/routes/allroutes.py @@ -94,6 +94,9 @@ if IS_LOCALHOST: CSP["script-src-elem"] += " rdrama.net" CSP["img-src"] += " http:" +if SITE == 'watchpeopledie.tv': + CSP["media-src"] += " videos.watchpeopledie.tv" + CSP_str = '' for k, val in CSP.items():