1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-21 19:03:26 +01:00

fix typo.

This commit is contained in:
zhzy0077 2023-08-21 11:55:20 +08:00
parent 6bd8875375
commit 6a3f169a47

View file

@ -190,7 +190,7 @@ func execServe(c *cli.Context) error {
metricsListenHTTP := c.String("metrics-listen-http")
enableMetrics := c.Bool("enable-metrics") || metricsListenHTTP != ""
profileListenHTTP := c.String("profile-listen-http")
messasgeLimit := c.Int("message-limit")
messageLimit := c.Int("message-limit")
// Check values
if firebaseKeyFile != "" && !util.FileExists(firebaseKeyFile) {
@ -366,7 +366,7 @@ func execServe(c *cli.Context) error {
conf.WebPushFile = webPushFile
conf.WebPushEmailAddress = webPushEmailAddress
conf.WebPushStartupQueries = webPushStartupQueries
conf.MessageLimit = messasgeLimit
conf.MessageLimit = messageLimit
// Set up hot-reloading of config
go sigHandlerConfigReload(config)