This commit is contained in:
Aevann1 2021-08-02 17:05:46 +02:00
parent 5bf3382158
commit 1a2a2643f7
8 changed files with 21 additions and 21 deletions

View file

@ -12,7 +12,7 @@ from flask import *
from drama.__main__ import app, limiter
from pusher_push_notifications import PushNotifications
domain = environ.get("domain").strip()
site = environ.get("domain").strip()
PUSHER_KEY = environ.get("PUSHER_KEY", "").strip()
@ -150,7 +150,7 @@ def message2(v, username):
'notification': {
'title': f'New message from @{v.username}',
'body': message,
'deep_link': f'https://{domain}/notifications',
'deep_link': f'https://{site}/notifications',
},
},
},