binwiederhier 3 سال پیش
والد
کامیت
80292f1f4d
3فایلهای تغییر یافته به همراه2 افزوده شده و 10 حذف شده
  1. 1 1
      docs/config.md
  2. 0 8
      server/server.go
  3. 1 1
      web/src/components/Account.js

+ 1 - 1
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 

+ 0 - 8
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

+ 1 - 1
web/src/components/Account.js

@@ -451,7 +451,7 @@ const Tokens = () => {
                     <Trans
                         i18nKey="account_tokens_description"
                         components={{
-                            Link: <Link href="/docs"/>
+                            Link: <Link href="/docs/publish/#access-tokens"/>
                         }}
                     />
                 </Paragraph>