trigger rebuild

This commit is contained in:
eyedeekay
2025-04-18 22:05:17 -04:00
parent 141791f239
commit c68a424e10

View File

@ -11,10 +11,13 @@ import (
"github.com/go-i2p/go-meta-listener/mirror" "github.com/go-i2p/go-meta-listener/mirror"
) )
var mirrorListener, err = mirror.NewMirror("i2pgit.org") var mirrorListener, mirrorErr = mirror.NewMirror("i2pgit.org")
// This implements the GetListener function for TLS, I2P, and Onion. Note the exemption for Unix sockets. // This implements the GetListener function for TLS, I2P, and Onion. Note the exemption for Unix sockets.
func MultiGetListener(network, address string) (net.Listener, error) { func MultiGetListener(network, address string) (net.Listener, error) {
if mirrorErr != nil {
return nil, mirrorErr
}
EMAIL := os.Getenv("EMAIL") EMAIL := os.Getenv("EMAIL")
if EMAIL == "" { if EMAIL == "" {
log.Printf("Warning: %s", fmt.Errorf("EMAIL environment variable not set, TLS not possible")) log.Printf("Warning: %s", fmt.Errorf("EMAIL environment variable not set, TLS not possible"))