From 80292f1f4df9ce20627499d2f17fff2ea9c2c053 Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Tue, 14 Feb 2023 14:26:30 -0500 Subject: [PATCH] Tiny changes --- docs/config.md | 2 +- server/server.go | 8 -------- web/src/components/Account.js | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/docs/config.md b/docs/config.md index c7358445..0a2e6aa3 100644 --- a/docs/config.md +++ b/docs/config.md @@ -838,7 +838,7 @@ config options: * `stripe-secret-key` is the key used for the Stripe API communication. Setting this values enables payments in the ntfy web app (e.g. Upgrade dialog). See [API keys](https://dashboard.stripe.com/apikeys). * `stripe-webhook-key` is the key required to validate the authenticity of incoming webhooks from Stripe. - Webhooks are essential up keep the local database in sync with the payment provider. See [Webhooks](https://dashboard.stripe.com/webhooks). + Webhooks are essential to keep the local database in sync with the payment provider. See [Webhooks](https://dashboard.stripe.com/webhooks). In addition to setting these two options, you also need to define a [Stripe webhook](https://dashboard.stripe.com/webhooks) for the `customer.subscription.updated` and `customer.subscription.deleted` event, which points diff --git a/server/server.go b/server/server.go index d9102846..4334800e 100644 --- a/server/server.go +++ b/server/server.go @@ -32,14 +32,6 @@ import ( "unicode/utf8" ) -/* - -- MEDIUM fail2ban to work with ntfy log not nginx log -- HIGH test for delayed sending -- LOW https://github.com/binwiederhier/ntfy/actions/runs/4169886276/jobs/7218312719 - -*/ - // Server is the main server, providing the UI and API for ntfy type Server struct { config *Config diff --git a/web/src/components/Account.js b/web/src/components/Account.js index f815668d..224999b6 100644 --- a/web/src/components/Account.js +++ b/web/src/components/Account.js @@ -451,7 +451,7 @@ const Tokens = () => { + Link: }} />