7574b334cc
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
12 lines
259 B
Go
12 lines
259 B
Go
package server
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/ehazlett/element/version"
|
|
)
|
|
|
|
func (s *Server) getRequestHandler(w http.ResponseWriter, r *http.Request) {
|
|
w.Header().Set("X-Content-Server", "element "+version.FullVersion())
|
|
w.WriteHeader(http.StatusOK)
|
|
}
|