mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 16:58:31 +02:00
improve initialization flow
This commit is contained in:
@@ -87,6 +87,7 @@ func (p *Provider) MarshalText() ([]byte, error) {
|
||||
}
|
||||
|
||||
func (p *Provider) startRoute(parent task.Parent, r *route.Route) gperr.Error {
|
||||
r.FinalizeHomepageConfig()
|
||||
err := r.Start(parent)
|
||||
if err != nil {
|
||||
delete(p.routes, r.Alias)
|
||||
|
||||
Reference in New Issue
Block a user