summaryrefslogtreecommitdiff
path: root/system/admin/server.go
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2017-01-12 16:19:00 -0800
committerGitHub <noreply@github.com>2017-01-12 16:19:00 -0800
commit21b9f301c5e1305c3be4e260161d2495bca059de (patch)
tree3be88e282bb9801b5b0354f89c5fe127996b0b6a /system/admin/server.go
parentad96d5fa100615ada7ae8f06e75088f9297122fd (diff)
[addons] Expanding basic addon framework (#29)
Diffstat (limited to 'system/admin/server.go')
-rw-r--r--system/admin/server.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/admin/server.go b/system/admin/server.go
index 155892a..f2bf244 100644
--- a/system/admin/server.go
+++ b/system/admin/server.go
@@ -23,6 +23,9 @@ func Run() {
http.HandleFunc("/admin/recover", forgotPasswordHandler)
http.HandleFunc("/admin/recover/key", recoveryKeyHandler)
+ http.HandleFunc("/admin/addons", user.Auth(addonsHandler))
+ http.HandleFunc("/admin/addon", user.Auth(addonHandler))
+
http.HandleFunc("/admin/configure", user.Auth(configHandler))
http.HandleFunc("/admin/configure/users", user.Auth(configUsersHandler))
http.HandleFunc("/admin/configure/users/edit", user.Auth(configUsersEditHandler))