mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 03:25:35 +00:00
18 lines
411 B
Go
18 lines
411 B
Go
|
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
//go:build ios || android
|
||
|
// +build ios android
|
||
|
|
||
|
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)
|
||
|
}
|