Removed spew

This commit is contained in:
Juan Font Alonso 2021-05-06 01:03:43 +02:00
parent 744c687d37
commit 9bac805d50

3
api.go
View file

@ -9,7 +9,6 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/davecgh/go-spew/spew"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"github.com/jinzhu/gorm" "github.com/jinzhu/gorm"
"github.com/jinzhu/gorm/dialects/postgres" "github.com/jinzhu/gorm/dialects/postgres"
@ -34,7 +33,7 @@ func (h *Headscale) RegisterWebAPI(c *gin.Context) {
return return
} }
spew.Dump(c.Params) // spew.Dump(c.Params)
c.Data(http.StatusOK, "text/html; charset=utf-8", []byte(fmt.Sprintf(` c.Data(http.StatusOK, "text/html; charset=utf-8", []byte(fmt.Sprintf(`
<html> <html>