From a36cc8d982acbd63b967c3e9326cd0ea36192b74 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 21 Aug 2021 14:51:19 +0200 Subject: [PATCH] fdfd --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 8ec026c92b..d350cdde14 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -610,7 +610,7 @@ def submit_post(v): if t: embed = f"https://youtube.com/embed/{yt_id}?start={t}" else: embed = f"https://youtube.com/embed/{yt_id}" - elif app.config['SERVER_NAME'] in domain and "/post/" in url: + elif app.config['SERVER_NAME'] in domain and "/post/" in url and "context" not in url: id = url.split("/post/")[1] if "/" in id: id = id.split("/")[0] embed = id