From bff2b5e735ae7fc80157b4108ddbe56be8acb752 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 9 Oct 2017 14:59:48 -0700 Subject: Miscellaneous app cleanup (#7594) * app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks --- api4/api.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'api4/api.go') 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, -- cgit v1.2.3-1-g7c22