summaryrefslogtreecommitdiffstats
path: root/app/app.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-11-06 21:53:40 -0600
committerChristopher Speller <crspeller@gmail.com>2017-11-06 19:53:40 -0800
commit61db2ff59bc5146a85a8275a4ce231eb1d5e03f1 (patch)
tree8945439c28f66553f2f087048cce5bfea9856f6f /app/app.go
parentfef70d6c9e525466676350c5696459c2670807e8 (diff)
downloadchat-61db2ff59bc5146a85a8275a4ce231eb1d5e03f1.tar.gz
chat-61db2ff59bc5146a85a8275a4ce231eb1d5e03f1.tar.bz2
chat-61db2ff59bc5146a85a8275a4ce231eb1d5e03f1.zip
fix builtin plugin http router (#7797)
Diffstat (limited to 'app/app.go')
-rw-r--r--app/app.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/app.go b/app/app.go
index 354e8ebf6..81db20830 100644
--- a/app/app.go
+++ b/app/app.go
@@ -93,6 +93,7 @@ func New(options ...Option) *App {
app.Srv.Store = app.newStore()
app.initJobs()
+ app.initBuiltInPlugins()
app.Srv.Router.HandleFunc("/plugins/{plugin_id:[A-Za-z0-9\\_\\-\\.]+}", app.ServePluginRequest)
app.Srv.Router.HandleFunc("/plugins/{plugin_id:[A-Za-z0-9\\_\\-\\.]+}/{anything:.*}", app.ServePluginRequest)