summaryrefslogtreecommitdiffhomepage
path: root/ipn/localapi/disabled_stubs.go
blob: c744f34d5f5c51b7517e643909d82413e0d97869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause

//go:build ios || android || 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)
}