tailroute @main -
refs -
log -
-
https://git.jolheiser.com/tailroute.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmaFYXwACgkQuFOtpdp7
v3qfOxAAmCp3uhOC9XVovc96G+MTVXTwHpNwa/YpxJunFj7oTCWCypYC/qg4j8Hs
y5j3moBk3vZAwHlQo3HlQksPAY3ILboFeXGt2ThBkdbe7tagmwsfPilkRpIGUcUK
LIMoLVlaRRU4uqRo8Lw5pxF9rPokfTOKcVgPWdonXR8WhLdBfwfUsEIdFqFq1rZS
NHOPfj4AscZD4XONO+oVTDJdvbOP4UVgR/wMm9hlV6T8/rxNK5A4pfuMSbgqTJNJ
aIW2l6V8CEdd3owMGcIzOE/cYl9aaV2ZXehbh2GEw9Q4o+cz+YTVYRKK2PiaB4PN
RMCGJl91l4EhkqPiOkz/bNLxeH3kjNlUIpCG7rk2UGNZ57n5x+Ny1rbmwo4Yy02z
+b1bnUtAm7mC8Y6zQScs7Eoi7Tyxgqt+NqGsKHIgktC0ooSlXqlIQh2DGYTt6yd3
ay4LWONbrWxpnhfTZwJbT2MvKeIWnPXenxBZOofpwZvyz+zSjOLhgz4Zqq51w1iW
VkdN074ZCQXncB1W9qUHT0owpRxWdpNQcuvDWefNiF9lGmwqMGNVcrLx6l/LZ8WG
SLth9SZGls0bFEKJavkr0aMEN3wWoMRpSYBztkscksiyEFQ+cMVVR+2RWH6OxlMH
oU/w7U1H8DD6Fv73aGCkhVMJmA12v9abgxs4u0ltOahTUIV+P6U=
=BmEe
-----END PGP SIGNATURE-----
diff --git a/tailroute.go b/tailroute.go
index c7539edce67827ffaa49eea96dd80422d7e25bab..01e4d1695677207fc1c33e4eab9bfffeccaa7396 100644
--- a/tailroute.go
+++ b/tailroute.go
@@ -10,8 +10,6 @@ "net"
"net/http"
"os"
package tailroute
-
-package tailroute
import (
"tailscale.com/ipn"
@@ -87,7 +85,7 @@ return fmt.Errorf("could not create data dir: %w", err)
}
s := &tsnet.Server{
Hostname: hostname,
- Dir: filepath.Join(dataDir, "tsnet"),
+ Dir: dataDir,
}
if err := s.Start(); err != nil {
return err