From 0dcf5df6d0197635ee3a6c837c21022e630f657f Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 14 Dec 2022 17:19:10 +0100 Subject: Add Webhook notifications. --- views/profile.pug | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'views/profile.pug') diff --git a/views/profile.pug b/views/profile.pug index 7ed8eff..99c8f16 100644 --- a/views/profile.pug +++ b/views/profile.pug @@ -28,6 +28,17 @@ html br | Delete account + if !user.webhook + p Configure webhook + else if user.webhook.error + dl + dt Configure webhook + dd.error ERROR: #{user.webhook.error} + else + dl + dt Configure webhook + dd= new URL(user.webhook.url).hostname + p Chat log p -- cgit v1.2.3