mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-24 01:31:55 +00:00
ipn: move Options.ServerURL into Prefs.
We can't rely on a frontend to provide a control server URL, so this naturally belongs in server-persisted state. Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
committed by
Dave Anderson
parent
45d687e213
commit
cf1e386cbd
@@ -168,8 +168,8 @@ func newNode(t *testing.T, prefix string, https *httptest.Server) testNode {
|
||||
}
|
||||
n.Start(Options{
|
||||
FrontendLogID: prefix + "-f",
|
||||
ServerURL: https.URL,
|
||||
Prefs: &Prefs{
|
||||
ControlURL: https.URL,
|
||||
RouteAll: true,
|
||||
AllowSingleHosts: true,
|
||||
CorpDNS: true,
|
||||
|
||||
Reference in New Issue
Block a user