aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/server.go b/server.go
index 0ab7f24..678a5e4 100644
--- a/server.go
+++ b/server.go
@@ -204,5 +204,9 @@ func New(e *echo.Echo, options *Options) error {
e.Static("/assets", "public/assets")
e.Static("/themes", "public/themes")
+ for _, p := range s.plugins {
+ p.SetRoutes(e.Group(""))
+ }
+
return nil
}