diff options
author | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2017-03-24 00:42:32 +0100 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-03-23 19:42:32 -0400 |
commit | 6935e2d5ea73d34f0f383715fd161059eff74608 (patch) | |
tree | b57173a5616bc06413305ebf553e8c0b11881c3f /api4/api.go | |
parent | 42c3ea64a9e2e75193d35939bbca34adfbd5ddf9 (diff) | |
download | chat-6935e2d5ea73d34f0f383715fd161059eff74608.tar.gz chat-6935e2d5ea73d34f0f383715fd161059eff74608.tar.bz2 chat-6935e2d5ea73d34f0f383715fd161059eff74608.zip |
implement POST /commands for apiv4 (#5849)
Diffstat (limited to 'api4/api.go')
-rw-r--r-- | api4/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api4/api.go b/api4/api.go index 75f2e0254..1ff4fa10e 100644 --- a/api4/api.go +++ b/api4/api.go @@ -170,6 +170,7 @@ func InitApi(full bool) { InitCluster() InitLdap() InitBrand() + InitCommand() app.Srv.Router.Handle("/api/v4/{anything:.*}", http.HandlerFunc(Handle404)) |