From 506e8793347e7cd87b0722217452fe79e2c65d51 Mon Sep 17 00:00:00 2001 From: Alix JEUDI--LEMOINE Date: Tue, 17 Jun 2025 23:09:03 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20VAPID=20keys=20for=20Push?= =?UTF-8?q?=20notifications=20in=20the=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/config.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/config.py b/app/config.py index 5975e98..0e5781d 100644 --- a/app/config.py +++ b/app/config.py @@ -39,3 +39,11 @@ MAX_IMAGES_PER_USER = DEFAULT_CONFIG["max_images_per_user"] ALLOWED_MIME_TYPES = DEFAULT_CONFIG["allowed_image_types"] MAX_PINS_PER_USER = DEFAULT_CONFIG["max_pins_per_user"] MAX_FRIENDS_PER_USER = DEFAULT_CONFIG["max_friends_per_user"] + +# Token privé pour les notifications Push +VAPID_PRIVATE_KEY = os.getenv("VAPID_PRIVATE_KEY") + +# Claims VAPID pour les notifications Push +VAPID_CLAIMS = { + "sub": "mailto:admin@memorymap.fr" +} \ No newline at end of file