Skip to content

Commit f852d7a

Browse files
committed
fixed default address in sample config
1 parent bdfaab3 commit f852d7a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

client/config/config.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package config
22

33
import (
4-
"gopkg.in/yaml.v2"
54
"io"
65
"os"
6+
7+
"gopkg.in/yaml.v2"
78
)
89

910
type Configuration struct {
@@ -13,7 +14,7 @@ type Configuration struct {
1314

1415
func ReadConfiguration(filePath string) (*Configuration, error) {
1516
config := &Configuration{
16-
Host: "localhost",
17+
Host: "http://localhost",
1718
Port: 8090,
1819
}
1920

0 commit comments

Comments
 (0)