Exemple #1
0
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
	}
}
Exemple #2
0
func main() {
	log.Debugf("Is Edge: %v", edgedetect.DefaultBrowserIsEdge())
}