TEmplate dir
This commit is contained in:
@@ -99,6 +99,7 @@ type Config struct {
|
||||
AttachmentTotalSizeLimit int64
|
||||
AttachmentFileSizeLimit int64
|
||||
AttachmentExpiryDuration time.Duration
|
||||
TemplateDir string // Directory to load named templates from
|
||||
KeepaliveInterval time.Duration
|
||||
ManagerInterval time.Duration
|
||||
DisallowedTopics []string
|
||||
@@ -167,7 +168,6 @@ type Config struct {
|
||||
WebPushExpiryDuration time.Duration
|
||||
WebPushExpiryWarningDuration time.Duration
|
||||
Version string // injected by App
|
||||
TemplateDirectory string // Directory to load named templates from
|
||||
}
|
||||
|
||||
// NewConfig instantiates a default new server config
|
||||
@@ -258,6 +258,6 @@ func NewConfig() *Config {
|
||||
WebPushEmailAddress: "",
|
||||
WebPushExpiryDuration: DefaultWebPushExpiryDuration,
|
||||
WebPushExpiryWarningDuration: DefaultWebPushExpiryWarningDuration,
|
||||
TemplateDirectory: "",
|
||||
TemplateDir: "",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user