diff --git a/web/server.go b/web/server.go index 3b5b1e7..b048e8c 100644 --- a/web/server.go +++ b/web/server.go @@ -30,7 +30,7 @@ type Server struct { // NewServer creates a new web server func NewServer(clock *derby.DerbyClock, port int) (*Server, error) { // Parse templates - templates, err := template.ParseFS(content, "templates/*.html", "templates/**/*.html") + templates, err := template.ParseFS(content, "web/templates/*.html", "web/templates/**/*.html") if err != nil { return nil, fmt.Errorf("failed to parse templates: %w", err) }