Implémenter cfg.Bottin.API.Host
This commit is contained in:
parent
bc55ef03f1
commit
ea49f1609f
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ var apiCmd = &cobra.Command{
|
|||
|
||||
v0 := e.Group("/v0")
|
||||
|
||||
bottinApiClient := bottindata.NewApiClient("bottin", "localhost", "http", 1312)
|
||||
bottinApiClient := bottindata.NewApiClient("bottin", cfg.Bottin.API.Host, "http", 1312)
|
||||
|
||||
dbClient, err := dbclient.New("db", "bottinag", "bottinag", "bottinag", 5432, false)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue