net/netcheck: only run HTTP netcheck for tamago clients

Signed-off-by: Andrea Barisani <andrea@inversepath.com>
pull/10582/head
Andrea Barisani 6 months ago committed by Denton Gentry
parent 3ba5fd4baa
commit affe11c503

@ -812,7 +812,7 @@ func (c *Client) GetReport(ctx context.Context, dm *tailcfg.DERPMap) (_ *Report,
c.curState = nil
}()
if runtime.GOOS == "js" {
if runtime.GOOS == "js" || runtime.GOOS == "tamago" {
if err := c.runHTTPOnlyChecks(ctx, last, rs, dm); err != nil {
return nil, err
}

Loading…
Cancel
Save