From d43ccb0d0ef1b4aa3c8f2a9e7da6aba763ec3806 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 15 Jan 2022 12:01:22 +0200 Subject: [PATCH] bbbbbbbbb --- files/routes/comments.py | 1 + files/routes/users.py | 1 + files/templates/admin/admin_home.html | 7 ------- files/templates/home.html | 2 +- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index b0a870f8f..637272d5c 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -475,6 +475,7 @@ def api_comment(v): 'title': f'New reply by @{v.username}', 'body': c.body, 'deep_link': f'https://{site}/comment/{c.id}?context=9&read=true#context', + 'icon': f'https://{request.host}/assets/images/{SITE_NAME}/icon.webp', } }, 'fcm': { diff --git a/files/routes/users.py b/files/routes/users.py index ebdb19a90..fde075644 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -444,6 +444,7 @@ def message2(v, username): 'title': f'New message from @{v.username}', 'body': message, 'deep_link': f'https://{site}/notifications', + 'icon': f'https://{request.host}/assets/images/{SITE_NAME}/icon.webp', } }, 'fcm': { diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index 9d44c1d2c..7213c8265 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -73,11 +73,4 @@ {% endif %} - - - {% endblock %} \ No newline at end of file diff --git a/files/templates/home.html b/files/templates/home.html index 26b4ccfc6..1c62e9820 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -167,7 +167,7 @@ {% if v %}
{{request.host}}{{v.id}}
{{PUSHER_ID}}
- + {% endif %} {% endblock %} \ No newline at end of file