diff options
Diffstat (limited to 'api4/api.go')
-rw-r--r-- | api4/api.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/api4/api.go b/api4/api.go index c712b67f2..3c1d68384 100644 --- a/api4/api.go +++ b/api4/api.go @@ -109,12 +109,6 @@ type API struct { BaseRoutes *Routes } -func NewRouter() *mux.Router { - ret := mux.NewRouter() - ret.NotFoundHandler = http.HandlerFunc(Handle404) - return ret -} - func Init(a *app.App, root *mux.Router, full bool) *API { api := &API{ App: a, |