where is v1
This commit is contained in:
parent
2504572cb3
commit
b8cb49c1cb
@ -68,7 +68,7 @@ func serve(ctx *cli.Context) error {
|
|||||||
log.WithError(err).Fatal("failed to connect database")
|
log.WithError(err).Fatal("failed to connect database")
|
||||||
}
|
}
|
||||||
|
|
||||||
srv, err := api.NewServer(&service.Service{DB: db}, api.WithPathPrefix("/v2"))
|
srv, err := api.NewServer(&service.Service{DB: db}, api.WithPathPrefix("/v1"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithError(err).Fatal("failed to initialize api server")
|
log.WithError(err).Fatal("failed to initialize api server")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user