diff --git a/cmd/hubserver/main.go b/cmd/hubserver/main.go index 5238d43..7a3bb4c 100644 --- a/cmd/hubserver/main.go +++ b/cmd/hubserver/main.go @@ -38,7 +38,7 @@ func main() { log.Printf("Using arguments http=%s baseurl=%s database=%s", *hostPort, *baseURL, *database) - dsn := fmt.Sprintf("postgres://%v:%v@%s/hub?sslmode=disable", "postgres", "simple", *database) + dsn := fmt.Sprintf("postgres://%v:%v@%s/?sslmode=disable", "postgres", "simple", *database) store, err := storage.New(dsn) if err != nil { log.Fatal(err)