From e93346ffa90f6c09a9a57b48c6607925dc7ff46e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 16 Dec 2019 12:57:30 +0100 Subject: Remove the public/ directory Now that all templates are provided by plugins, there's no need to have a public/ directory. Themes can be in /themes instead of /public/themes. --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.go') diff --git a/server.go b/server.go index f2d4c11..ab42684 100644 --- a/server.go +++ b/server.go @@ -196,7 +196,7 @@ func New(e *echo.Echo, options *Options) error { } }) - e.Static("/themes", "public/themes") + e.Static("/themes", "themes") for _, p := range s.Plugins { p.SetRoutes(e.Group("")) -- cgit v1.2.3