From efaec5d0471f0c3a0920140ab987b31e6ca70214 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 28 Oct 2024 02:02:12 +0300 Subject: [PATCH] restore videos2 --- files/classes/comment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index d22f971ba..1249c2b6a 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -95,8 +95,8 @@ def normalize_urls_runtime(body, v): if v and v.controversial: body = controversial_regex.sub(controversial_link_matcher, body) - #if request.headers.get("Cf-Ipcountry") in AMERICAS_CODES: - #body = body.replace('https://videos.watchpeopledie.tv/', 'https://videos2.watchpeopledie.tv/') + if request.headers.get("Cf-Ipcountry") in AMERICAS_CODES: + body = body.replace('https://videos.watchpeopledie.tv/', 'https://videos2.watchpeopledie.tv/') return body