mirror of
https://github.com/go-i2p/go-gitlooseleaf.git
synced 2025-06-17 22:39:59 -04:00
fix some build errors
This commit is contained in:
@ -12,10 +12,7 @@ import (
|
||||
|
||||
// This implements the GetListener function for TLS, I2P, and Onion. Note the exemption for Unix sockets.
|
||||
func MultiGetListener(network, address string) (net.Listener, error) {
|
||||
EMAIL, err := os.Getenv("EMAIL")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
EMAIL := os.Getenv("EMAIL")
|
||||
if EMAIL == "" {
|
||||
return nil, fmt.Errorf("EMAIL environment variable not set, TLS not possible")
|
||||
}
|
||||
|
Reference in New Issue
Block a user