mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-25 10:01:46 +00:00
Removed frontend stuff. We are not there yet...
This commit is contained in:
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
|
||||
}
|
||||
|
Reference in New Issue
Block a user