mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-08-28 10:54:08 +00:00
Update
This commit is contained in:
@@ -79,6 +79,8 @@ func (s *Server) Start() error {
|
||||
|
||||
func (s *Server) handlerFunc(w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
|
||||
w.Header().Set("Server", "DNS-over-HTTPS/1.0 (+https://github.com/m13253/dns-over-https)")
|
||||
w.Header().Set("X-Powered-By", "DNS-over-HTTPS/1.0 (+https://github.com/m13253/dns-over-https)")
|
||||
|
||||
name := r.FormValue("name")
|
||||
if name == "" {
|
||||
|
||||
Reference in New Issue
Block a user