Removed frontend stuff. We are not there yet...

This commit is contained in:
Juan Font Alonso 2021-02-20 21:09:15 +01:00
parent 92f33c15b7
commit 1e1d577b83
22 changed files with 0 additions and 11782 deletions

3
app.go
View file

@ -3,10 +3,8 @@ package headscale
import (
"fmt"
"io/ioutil"
"net/http"
"github.com/gin-gonic/gin"
"github.com/markbates/pkger"
"github.com/tailscale/wireguard-go/wgcfg"
)
@ -63,7 +61,6 @@ func (h *Headscale) Serve() error {
// r.LoadHTMLFiles("./frontend/build/index.html")
// r.Use(static.Serve("/", static.LocalFile("./frontend/build", true)))
r.Use(gin.WrapH(http.FileServer(pkger.Dir("/frontend/build"))))
err := r.Run(h.cfg.Addr)
return err
}