Skip to content

Commit b3a4abb

Browse files
committed
host only local in DEV
1 parent 379c483 commit b3a4abb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

router.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ func Serve(router http.Handler) error {
1414
var err error
1515

1616
if Development {
17-
ServerHost = "0.0.0.0"
17+
ServerHost = "127.0.0.1"
1818
}
1919

2020
port := os.Getenv("PORT")
2121
if port != "" {
2222
ServerPort = port
23-
ServerHost = ""
23+
// ServerHost = ""
2424
}
2525
connectionString := fmt.Sprintf("%s:%s", ServerHost, ServerPort)
2626

0 commit comments

Comments
 (0)