remove now-unneeded shit

master
Aevann 2023-08-05 21:15:20 +03:00
parent 2cf213e5a1
commit d4653f824a
1 changed files with 0 additions and 7 deletions

View File

@ -270,13 +270,6 @@ class Post(Base):
if "?" in url: url += "&context=9"
else: url += "?context=8"
if not v or v.controversial: url += "&sort=controversial"
elif url.startswith("https://watchpeopledie.tv/videos/"):
# Semi-temporary fix for self-hosted unproxied video serving
url = url.replace("https://watchpeopledie.tv/videos/",
"https://videos.watchpeopledie.tv/", 1)
elif SITE == 'watchpeopledie.tv' and url.startswith('/videos'):
url = url.replace("/videos/",
"https://videos.watchpeopledie.tv/", 1)
if url.startswith('/'): return SITE_FULL + url