Testing a new UI

This commit is contained in:
Mukhtar Akere
2025-07-09 20:08:09 +01:00
parent dba5604d79
commit c72867ff57
25 changed files with 5826 additions and 3287 deletions

View File

@@ -11,7 +11,6 @@ import (
"github.com/sirrobot01/decypharr/internal/logger"
"io"
"net/http"
"net/url"
"os"
)
@@ -30,10 +29,6 @@ func New(handlers map[string]http.Handler) *Server {
s := &Server{
logger: l,
}
staticPath, _ := url.JoinPath(cfg.URLBase, "static")
r.Handle(staticPath+"/*",
http.StripPrefix(staticPath, http.FileServer(http.Dir("static"))),
)
r.Route(cfg.URLBase, func(r chi.Router) {
for pattern, handler := range handlers {