diff --git a/files/routes/posts.py b/files/routes/posts.py index 87425c7277..179c458f78 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1469,7 +1469,7 @@ def get_post_title(v): url = request.values.get("url") if not url: abort(400) - try: x = requests.get(url, headers=titleheaders, timeout=5) + try: x = requests.get(url, headers=titleheaders, timeout=5, proxies={"http":"http://127.0.0.1:18080","https":"http://127.0.0.1:18080"} ) except: abort(400) soup = BeautifulSoup(x.content, 'lxml') diff --git a/files/templates/comments.html b/files/templates/comments.html index 043b556bd0..1f3c30876b 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -920,4 +920,18 @@
{% endif %} +{% if not ajax and v and v.theme != 'transparent' %} + +{% endif %} + \ No newline at end of file