summaryrefslogtreecommitdiffstats
path: root/api4/api.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-10-09 14:59:48 -0700
committerGitHub <noreply@github.com>2017-10-09 14:59:48 -0700
commitbff2b5e735ae7fc80157b4108ddbe56be8acb752 (patch)
tree14867d2bff71b6b638b0b358b1f38eb062cb597f /api4/api.go
parent0f66b6e72621842467d0e368b95ee58f485d4ace (diff)
downloadchat-bff2b5e735ae7fc80157b4108ddbe56be8acb752.tar.gz
chat-bff2b5e735ae7fc80157b4108ddbe56be8acb752.tar.bz2
chat-bff2b5e735ae7fc80157b4108ddbe56be8acb752.zip
Miscellaneous app cleanup (#7594)
* app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks
Diffstat (limited to 'api4/api.go')
-rw-r--r--api4/api.go6
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,