fix: need to init apiDomain
This commit is contained in:
parent
3a0c7bdea2
commit
907de0b3af
|
@ -80,6 +80,7 @@ func NewAPIRouter() *APIRouter {
|
||||||
return &APIRouter{
|
return &APIRouter{
|
||||||
apis: make(map[string]RoutableAPI),
|
apis: make(map[string]RoutableAPI),
|
||||||
apiHandlers: make(map[string]http.Handler),
|
apiHandlers: make(map[string]http.Handler),
|
||||||
|
apiDomain: make(map[string]string),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue