mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 13:23:07 +01:00
12 lines
210 B
Go
12 lines
210 B
Go
package web
|
|
|
|
import (
|
|
"fmt"
|
|
"net/http"
|
|
)
|
|
|
|
func (h *handler) version(w http.ResponseWriter, r *http.Request) {
|
|
w.Header().Add("Content-Type", "text/html")
|
|
fmt.Fprintf(w, "<pre>%v</pre>", h.config.Version)
|
|
}
|