feat: add localized ledger explorer dashboard
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package web
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
_ "embed"
|
||||
"net/http"
|
||||
"time"
|
||||
)
|
||||
|
||||
//go:embed assets/favicon.ico
|
||||
var favicon []byte
|
||||
|
||||
func (h *Handler) favicon(response http.ResponseWriter, request *http.Request) {
|
||||
response.Header().Set("Cache-Control", "public, max-age=86400")
|
||||
http.ServeContent(response, request, "favicon.ico", time.Time{}, bytes.NewReader(favicon))
|
||||
}
|
||||
Reference in New Issue
Block a user