nimbleghost 2 лет назад
Родитель
Сommit
5ce78660cf
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      docs/develop.md

+ 2 - 2
docs/develop.md

@@ -247,7 +247,7 @@ Reference: <https://stackoverflow.com/questions/34160509/options-for-testing-ser
 
 #### With the dev servers
 
-1. Get web push keys `go run main.go web-push generate-keys`
+1. Get web push keys `go run main.go webpush keys`
 
 2. Run the server with web push enabled
 
@@ -255,9 +255,9 @@ Reference: <https://stackoverflow.com/questions/34160509/options-for-testing-ser
     go run main.go \
       --log-level debug \
       serve \
-        --web-push-enabled \
         --web-push-public-key KEY \
         --web-push-private-key KEY \
+        --web-push-email-address <email> \
         --web-push-file=/tmp/webpush.db
     ```