remotes/1693045480750635534/spooky-22
Aevann1 2022-04-25 17:48:36 +02:00
parent e60fe0bcd6
commit ddbafe7d78
3 changed files with 3 additions and 4 deletions

View File

@ -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()

View File

@ -123,7 +123,7 @@
<img alt="post thumnail" loading="lazy" src="{{p.thumb_url}}" class="post-img">
</a>
{% elif p.is_image %}
<img alt="sidebar image" role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{p.realurl(v)}}')" alt="post thumnail" loading="lazy" src="{{p.thumb_url}}" class="post-img">
<img role="button" data-bs-toggle="modal" data-bs-target="#expandImageModal" onclick="expandDesktopImage('{{p.realurl(v)}}')" alt="post thumnail" loading="lazy" src="{{p.thumb_url}}" class="post-img">
{% elif p.is_video %}
<a role="button" onclick="togglevideo({{p.id}})">
<img alt="post thumnail" loading="lazy" src="{{p.thumb_url}}" class="post-img">

View File

@ -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
echo "y" | ufw enable
. imei.sh