Removed support for Jamstash in dev mode. Not needed anymore :)

This commit is contained in:
Deluan
2020-08-15 23:11:31 -04:00
parent a2e0acd6a2
commit 15a06fcd27
6 changed files with 1 additions and 63 deletions
-6
View File
@@ -2,9 +2,7 @@ package server
import (
"net/http"
"os"
"path"
"path/filepath"
"time"
"github.com/deluan/navidrome/conf"
@@ -67,10 +65,6 @@ func (a *Server) initRoutes() {
http.Redirect(w, r, indexHtml, 302)
})
workDir, _ := os.Getwd()
filesDir := filepath.Join(workDir, "Jamstash-master/dist")
FileServer(r, "/Jamstash", "/Jamstash", http.Dir(filesDir))
a.router = r
}