Browse Source

Doc fixes

nimbleghost 2 years ago
parent
commit
89f5cc577e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      cmd/serve.go
  2. 1 1
      docs/develop.md

+ 1 - 1
cmd/serve.go

@@ -194,7 +194,7 @@ func execServe(c *cli.Context) error {
 	if firebaseKeyFile != "" && !util.FileExists(firebaseKeyFile) {
 		return errors.New("if set, FCM key file must exist")
 	} else if webPushPublicKey != "" && (webPushPrivateKey == "" || webPushFile == "" || webPushEmailAddress == "" || baseURL == "") {
-		return errors.New("if web push is enabled, web-push-private-key, web-push-public-key, web-push-file, web-push-email-address, and base-url should be set. run 'ntfy web-push generate-keys' to generate keys")
+		return errors.New("if web push is enabled, web-push-private-key, web-push-public-key, web-push-file, web-push-email-address, and base-url should be set. run 'ntfy webpush keys' to generate keys")
 	} else if keepaliveInterval < 5*time.Second {
 		return errors.New("keepalive interval cannot be lower than five seconds")
 	} else if managerInterval < 5*time.Second {

+ 1 - 1
docs/develop.md

@@ -273,7 +273,7 @@ Reference: <https://stackoverflow.com/questions/34160509/options-for-testing-ser
 
 1. Run `make web-build`
 
-2. Follow steps 1, 2, 4 and 5 from "With the dev servers"
+2. Run the server (step 2 above)
 
 3. Open <http://localhost/>
 ### Build the docs