1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-07-20 01:28:49 +02:00
This commit is contained in:
Philipp Heckel 2021-12-07 10:38:58 -05:00
parent f1fac8da75
commit da8f90d388
3 changed files with 9 additions and 9 deletions
config

View file

@ -27,9 +27,9 @@ const (
// Config is the main config struct for the application. Use New to instantiate a default config struct.
type Config struct {
ListenHTTP string
ListenHTTPS string
KeyFile string
CertFile string
ListenHTTPS string
KeyFile string
CertFile string
FirebaseKeyFile string
CacheFile string
CacheDuration time.Duration
@ -46,9 +46,9 @@ type Config struct {
func New(listenHTTP string) *Config {
return &Config{
ListenHTTP: listenHTTP,
ListenHTTPS: "",
KeyFile: "",
CertFile: "",
ListenHTTPS: "",
KeyFile: "",
CertFile: "",
FirebaseKeyFile: "",
CacheFile: "",
CacheDuration: DefaultCacheDuration,