We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f03284 commit 907a57eCopy full SHA for 907a57e
internal/server/server.go
@@ -23,7 +23,7 @@ import (
23
)
24
25
const (
26
- defaultHost = "0.0.0.0"
+ defaultHost = ""
27
defaultPort = "23234"
28
defaultHostKeyPath = ".ssh/id_ed25519"
29
defaultDBPath = "./wordle-stats.db"
@@ -44,9 +44,6 @@ type Config struct {
44
// LoadConfigFromEnv loads configuration from environment variables
45
func LoadConfigFromEnv() Config {
46
host := os.Getenv("WORDLE_SSH_HOST")
47
- if host == "" {
48
- host = defaultHost
49
- }
50
51
port := os.Getenv("WORDLE_SSH_PORT")
52
if port == "" {
0 commit comments