mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-16 09:33:18 +02:00
Add version number to ntfy serve output
This commit is contained in:
parent
eb2262d06e
commit
cf0f002bfa
8 changed files with 703 additions and 591 deletions
server
|
@ -94,6 +94,7 @@ type Config struct {
|
|||
VisitorEmailLimitReplenish time.Duration
|
||||
BehindProxy bool
|
||||
EnableWeb bool
|
||||
Version string // injected by App
|
||||
}
|
||||
|
||||
// NewConfig instantiates a default new server config
|
||||
|
@ -135,5 +136,6 @@ func NewConfig() *Config {
|
|||
VisitorEmailLimitReplenish: DefaultVisitorEmailLimitReplenish,
|
||||
BehindProxy: false,
|
||||
EnableWeb: true,
|
||||
Version: "",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue