mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-15 17:50:55 +00:00
fix typo.
This commit is contained in:
parent
6bd8875375
commit
6a3f169a47
1 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ func execServe(c *cli.Context) error {
|
||||||
metricsListenHTTP := c.String("metrics-listen-http")
|
metricsListenHTTP := c.String("metrics-listen-http")
|
||||||
enableMetrics := c.Bool("enable-metrics") || metricsListenHTTP != ""
|
enableMetrics := c.Bool("enable-metrics") || metricsListenHTTP != ""
|
||||||
profileListenHTTP := c.String("profile-listen-http")
|
profileListenHTTP := c.String("profile-listen-http")
|
||||||
messasgeLimit := c.Int("message-limit")
|
messageLimit := c.Int("message-limit")
|
||||||
|
|
||||||
// Check values
|
// Check values
|
||||||
if firebaseKeyFile != "" && !util.FileExists(firebaseKeyFile) {
|
if firebaseKeyFile != "" && !util.FileExists(firebaseKeyFile) {
|
||||||
|
@ -366,7 +366,7 @@ func execServe(c *cli.Context) error {
|
||||||
conf.WebPushFile = webPushFile
|
conf.WebPushFile = webPushFile
|
||||||
conf.WebPushEmailAddress = webPushEmailAddress
|
conf.WebPushEmailAddress = webPushEmailAddress
|
||||||
conf.WebPushStartupQueries = webPushStartupQueries
|
conf.WebPushStartupQueries = webPushStartupQueries
|
||||||
conf.MessageLimit = messasgeLimit
|
conf.MessageLimit = messageLimit
|
||||||
|
|
||||||
// Set up hot-reloading of config
|
// Set up hot-reloading of config
|
||||||
go sigHandlerConfigReload(config)
|
go sigHandlerConfigReload(config)
|
||||||
|
|
Loading…
Reference in a new issue