Files
lincodex/backend/config/notification.go
T

13 lines
486 B
Go

package config
// defaultNotificationSyntheticEnabled keeps the synthetic inbox event off:
// a production deployment neither consumes nor renders it. A development or
// browser-test stand turns it on.
const defaultNotificationSyntheticEnabled = false
func (config *Config) loadNotification(lookup LookupEnv) error {
var err error
config.NotificationSyntheticEnabled, err = boolOrDefault(lookup, "NOTIFICATION_SYNTHETIC_ENABLED", defaultNotificationSyntheticEnabled)
return err
}