fix: remove 3rd party assets from mail (#3569)

This commit is contained in:
Livio Amstutz
2022-05-02 14:41:57 +00:00
committed by GitHub
parent 2e97394246
commit ef6fd5a843
11 changed files with 24 additions and 28 deletions
@@ -29,7 +29,8 @@ func StartSpooler(c SpoolerConfig,
externalPort uint16,
externalSecure bool,
dir http.FileSystem,
assetsPrefix string,
assetsPrefix,
fileSystemPath string,
userEncryption crypto.EncryptionAlgorithm,
smtpEncryption crypto.EncryptionAlgorithm,
smsEncryption crypto.EncryptionAlgorithm,
@@ -38,7 +39,7 @@ func StartSpooler(c SpoolerConfig,
Eventstore: es,
Locker: &locker{dbClient: sql},
ConcurrentWorkers: c.ConcurrentWorkers,
ViewHandlers: handler.Register(c.Handlers, c.BulkLimit, c.FailureCountUntilSkip, view, es, command, queries, externalPort, externalSecure, dir, assetsPrefix, userEncryption, smtpEncryption, smsEncryption),
ViewHandlers: handler.Register(c.Handlers, c.BulkLimit, c.FailureCountUntilSkip, view, es, command, queries, externalPort, externalSecure, dir, assetsPrefix, fileSystemPath, userEncryption, smtpEncryption, smsEncryption),
}
spool := spoolerConfig.New()
spool.Start()