mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 10:18:59 +02:00
[BREAKING] added entrypoint middleware support and config, config schema update
This commit is contained in:
@@ -173,6 +173,7 @@ func (cfg *Config) load() E.Error {
|
||||
|
||||
// errors are non fatal below
|
||||
errs := E.NewBuilder(errMsg)
|
||||
errs.Add(entrypoint.SetMiddlewares(model.Entrypoint.Middlewares))
|
||||
errs.Add(cfg.initNotification(model.Providers.Notification))
|
||||
errs.Add(cfg.initAutoCert(&model.AutoCert))
|
||||
errs.Add(cfg.loadRouteProviders(&model.Providers))
|
||||
|
||||
Reference in New Issue
Block a user