Skip to content

Commit

Permalink
Fix internal admin styles
Browse files Browse the repository at this point in the history
  • Loading branch information
martinboehm committed Dec 8, 2023
1 parent f28a747 commit 61bdb8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func NewInternalServer(binding, certFiles string, db *db.RocksDB, chain bchain.B
s.templates = s.parseTemplates()

serveMux.Handle(path+"favicon.ico", http.FileServer(http.Dir("./static/")))
serveMux.Handle(path+"static/", http.StripPrefix("/static/", http.FileServer(http.Dir("./static/"))))
serveMux.HandleFunc(path+"metrics", promhttp.Handler().ServeHTTP)
serveMux.HandleFunc(path, s.index)
serveMux.HandleFunc(path+"admin", s.htmlTemplateHandler(s.adminIndex))
Expand Down

0 comments on commit 61bdb8a

Please sign in to comment.