Removed frontend stuff. We are not there yet...
This commit is contained in:
parent
92f33c15b7
commit
1e1d577b83
22 changed files with 0 additions and 11782 deletions
3
app.go
3
app.go
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue