2025-03-02 22:59:51 +01:00

17 lines
245 B
Go

package webui
import (
_ "embed"
"fmt"
"net/http"
)
//go:embed assets/logo-md-code-black.svg
var logoSvg string
// Serves the logo.
func serveLogo(w http.ResponseWriter, r *http.Request) {
setHeadersForSvg(w)
fmt.Fprint(w, logoSvg)
}