mirror of
https://github.com/documize/community.git
synced 2025-07-19 21:29:42 +02:00
comments
This commit is contained in:
parent
3defc062bd
commit
1f713c11b6
1 changed files with 2 additions and 1 deletions
|
@ -61,8 +61,9 @@ func main() {
|
||||||
api.Runtime = rt
|
api.Runtime = rt
|
||||||
request.Db = rt.Db
|
request.Db = rt.Db
|
||||||
|
|
||||||
|
// Register smart sections
|
||||||
section.Register(rt)
|
section.Register(rt)
|
||||||
|
|
||||||
ready := make(chan struct{}, 1) // channel is used for testing
|
ready := make(chan struct{}, 1) // channel signals router ready
|
||||||
endpoint.Serve(ready)
|
endpoint.Serve(ready)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue