tailscale/ipn/localapi/disabled_stubs.go
David Anderson a3c9ca1611 ipn/localapi: enable TLS cert issuance API on android
Signed-off-by: David Anderson <dave@natulte.net>
2025-04-23 13:43:08 -07:00

16 lines
295 B
Go

// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build ios || js
package localapi
import (
"net/http"
"runtime"
)
func (h *Handler) serveCert(w http.ResponseWriter, r *http.Request) {
http.Error(w, "disabled on "+runtime.GOOS, http.StatusNotFound)
}