From ddbafe7d78634aa26c5ea3da790e401686984913 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 25 Apr 2022 17:48:36 +0200 Subject: [PATCH] vcx --- files/helpers/const.py | 1 - files/templates/submission_listing.html | 2 +- ubuntu_setup | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index a3bafd8b8..964e93756 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -5,7 +5,6 @@ from json import loads from files.__main__ import db_session from files.classes.sub import Sub from files.classes.marsey import Marsey -import regex SITE = environ.get("DOMAIN", '').strip() SITE_NAME = environ.get("SITE_NAME", '').strip() diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 9b3120426..f64390caf 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -123,7 +123,7 @@ post thumnail {% elif p.is_image %} - sidebar image + post thumnail {% elif p.is_video %} post thumnail diff --git a/ubuntu_setup b/ubuntu_setup index d428b9688..0767c2d56 100644 --- a/ubuntu_setup +++ b/ubuntu_setup @@ -12,7 +12,6 @@ sudo pip3 install -r requirements.txt mkdir /songs mkdir /images snap install opera-proxy -. imei.sh ufw allow ssh ufw allow from 173.245.48.0/20 ufw allow from 103.21.244.0/22 @@ -29,4 +28,5 @@ ufw allow from 104.16.0.0/13 ufw allow from 104.24.0.0/14 ufw allow from 172.64.0.0/13 ufw allow from 131.0.72.0/22 -ufw enable \ No newline at end of file +echo "y" | ufw enable +. imei.sh \ No newline at end of file