summaryrefslogtreecommitdiff
path: root/app/app.go
diff options
context:
space:
mode:
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 69811eb..37114b2 100644
--- a/app/app.go
+++ b/app/app.go
@@ -146,6 +146,7 @@ func NewApp(cfg *Config) (*App, error) {
// Run imports the library and starts server.
func (a *App) Run() error {
for _, pc := range a.Config.Library {
+ pc.Path = filepath.Clean(pc.Path)
p := &media.Path{
Path: pc.Path,
Prefix: pc.Prefix,