mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-04 07:32:19 -08:00
tsnet: set varRoot state directory field
This makes tsnet work on https://gokrazy.org! 🎉 Signed-off-by: Michael Stapelberg <[email protected]>
This commit is contained in:
1 parent
e6fbc0cd54
commit
b3abdc381d
1 file changed
+1
@@ -148,6 +148,7 @@ func (s *Server) start() error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("NewLocalBackend: %v", err)
|
||||
}
|
||||
lb.SetVarRoot(s.dir)
|
||||
s.lb = lb
|
||||
lb.SetDecompressor(func() (controlclient.Decompressor, error) {
|
||||
return smallzstd.NewDecoder(nil)
|
||||
|
||||
Reference in new issue
Block a user