diff --git a/files/routes/front.py b/files/routes/front.py index 50acbf236..a9ef0e182 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -64,6 +64,7 @@ def notifications(v): if x.read and index > 24: break elif not x.read: x.read = True + c.unread = True g.db.add(x) listing.append(c.id) diff --git a/setup b/setup index f7af9598a..cab6fd711 100644 --- a/setup +++ b/setup @@ -12,6 +12,7 @@ sudo pip3 install -r requirements.txt sudo apt -y install gunicorn sudo apt -y install ffmpeg mkdir /songs +mkdir /images cp ./env /env . /env gunicorn files.__main__:app -k gevent -w 2 --reload -b 127.0.0.1:80 --max-requests 1000 --max-requests-jitter 500 \ No newline at end of file