예제 #1
0
파일: ui.go 프로젝트: Christeefym/lantern
func getPreferredUIAddr() string {
	// We only use the proxied UI address if the default browser is Microsoft Edge
	if edgedetect.DefaultBrowserIsEdge() && shouldPreferProxiedUI() {
		return proxiedUIAddr
	} else {
		return uiaddr
	}
}
예제 #2
0
파일: cmd.go 프로젝트: Christeefym/lantern
func main() {
	log.Debugf("Is Edge: %v", edgedetect.DefaultBrowserIsEdge())
}