aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-16 12:57:30 +0100
committerSimon Ser <contact@emersion.fr>2019-12-16 12:58:21 +0100
commite93346ffa90f6c09a9a57b48c6607925dc7ff46e (patch)
tree5e1f356017c763a604cc8bcf247759037ae51d74 /server.go
parentd897eeee5c4d163891d0b6a8f85d328ccada7575 (diff)
downloadalps-e93346ffa90f6c09a9a57b48c6607925dc7ff46e.tar.gz
alps-e93346ffa90f6c09a9a57b48c6607925dc7ff46e.zip
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.
Diffstat (limited to 'server.go')
-rw-r--r--server.go2
1 files changed, 1 insertions, 1 deletions
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(""))