We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 907a57e commit 008d307Copy full SHA for 008d307
internal/server/server.go
@@ -23,7 +23,6 @@ import (
23
)
24
25
const (
26
- defaultHost = ""
27
defaultPort = "23234"
28
defaultHostKeyPath = ".ssh/id_ed25519"
29
defaultDBPath = "./wordle-stats.db"
@@ -102,10 +101,6 @@ type Server struct {
102
101
103
// New creates a new SSH server
104
func New(config Config) (*Server, error) {
105
- if config.Host == "" {
106
- config.Host = defaultHost
107
- }
108
-
109
if config.Port == "" {
110
config.Port = defaultPort
111
}
0 commit comments