From ecba69b7c1c53e5da8fb06ff85be68e6f823ae67 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 25 Oct 2024 17:13:57 +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 06fb3514a..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